-
-
Notifications
You must be signed in to change notification settings - Fork 27
Swap Camera for Image Entity #512
Swap Camera for Image Entity #512
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #512 +/- ##
==========================================
+ Coverage 98.93% 99.00% +0.06%
==========================================
Files 16 16
Lines 1318 1302 -16
==========================================
- Hits 1304 1289 -15
+ Misses 14 13 -1
☔ View full report in Codecov by Sentry. |
I've removed the 'HusqvarnaAutomowerStateMixin` class. Think, thats not relevant anymore. Is there a need to change the tests? |
Look good. It feels like the image entity is faster than the camera entity..... |
I'll look this evening, I think the image entity is on average faster, but it seems to drag when using large images since we lose the ability to resize the image on the backend and that now has to be done in the front end. I left the resize code in, hopefully that will get added back in HA and we can implement it. I'm not certain about the state translations, thinking those should be removed in #511? Will check to be sure. I did test the migration, no issues found. Didn't see any immediate concerns with 4dc8996 , but want to load it up in a codespace and just double check. |
That are the state translation for the image. So they are not related to the other PR. |
OK, this should be ready to merge now. |
Hello @prairiesnpr @Thomas55555 , |
I'm using the same automation as before, just updated the camera entity to the image entity. This is what I use now.
|
Hello @prairiesnpr , |
In my setup, ha_url is just the external URL to my instance. I don't use the internal URL. That said, try dropping the URL, I don't think it's required. |
This swaps the Camera entity to an Image entity.