You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.
But the Icon change will not take place whenever the device status changes... it seems, that this will only be polled from time to time, or whenever something else might trigger a poll from the webserver.
Would it be better to save the image locally instead?
Or to pull the picture directly with each state change?
the cat flap sensor does change its icon based on the lock state.
the icon will be called by surepy / entities / devices.py
The Icon will be set in sureha / sensors.py
But the Icon change will not take place whenever the device status changes... it seems, that this will only be polled from time to time, or whenever something else might trigger a poll from the webserver.
Would it be better to save the image locally instead?
Or to pull the picture directly with each state change?
states:
unlocked https://surehub.io/assets/images/petdoor-left-menu.png
locked_in https://surehub.io/assets/images/inside-icon.svg
locked_out https://surehub.io/assets/images/outside-icon.svg
locked_all https://surehub.io/assets/images/both-ways-icon.svg
The text was updated successfully, but these errors were encountered: