-
-
Notifications
You must be signed in to change notification settings - Fork 696
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Show entity state in a widget, like a toggle switch #402
Comments
Poor battery life. |
Yea I imagine we would need to have some sort of events being passed from core to the app to update the state in a friendly way. However with motion activated lights it would definitely kill battery life. My use case was like a input boolean you only turn on and off a few times a day to see the state and quickly toggle it if you need to. |
It's the updating of the state that will ruin the battery life. Because I doubt people want to wait 15 minutes between state updates. There was someone on Twitter who had this Android quick toggle tile that would open a UI to quickly control stuff. That would be better fitting because we just update the state when you open that ui. |
I was actually thinking that maybe we could do something like whats described here for real time and battery friendly: https://www.home-assistant.io/blog/2015/12/10/activating-tasker-tasks-from-home-assistant-using-command-line-switches/ The more I think about this the more complicated it sounds lol |
Would we be opposed to adding functionality in the mobile_app integration to send a push notification on state change for only states used in toggle type widgets? That way we don't need to poll and we get quick updates? |
Keep in mind we currently limit users to 150 notifications per 24 hours. |
That is a good idea. Not sure about how would be the development for this. |
@dshokouhi I realize stale state is still an issue, but the "Entity State" and "Template" widgets are already here, so I just proposed adding service call functionality to them. About updating though: can Android widgets detect if the screen is on and they are visible? |
@dshokouhi the sync from Ariela is on the fly. Maybe delay of 2, 3 seconds. But this idea of @rigrig using a call service with entity state widget and using the on/off screen, seems to be quite good (as there is the on/off screen sensor on HA). Of course you will now more about the limitations and problems on development. Its just a suggestion. Let me know if you wish to make some tests on Ariela app. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
Home Assistant Android version:
1.7.0
Android version:
10
Phone model:
Pixel 4 XL
Home Assistant version:
0.105
Last working Home Assistant release (if known):
N/A
Description of problem:
Now that we have awesome widgets it would be great if we had a
toggle
widget that would reflect the state of any one entity with aon
oroff
state likelight
switch
orinput_boolean
.Traceback (if applicable):
Additional information:
Trying to keep this request small and simple :)
The text was updated successfully, but these errors were encountered: