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
Add new settings screen to change Sensor Update Frequency #2317
Add new settings screen to change Sensor Update Frequency #2317
Conversation
I feel like this should be a setting more like the websocket setting rather than 2 toggles with the following options:
|
I like that, I wasn't sure about the UI either here but will update it later when I'm home. Good suggestion! |
Ok implemented the changes to match the other screen. Also took the opportunity to add some text about sensor updates to make things more clear. I ended up adding this to the setting table as well since the options are very similar. |
I tested this by:
I believe that covers all DB related issues with adding this field, had some fun setting the default value 😛 |
Summary
Adds a new setting screen for Sensor Update Frequency that allows users to select between 1 of 3 options. Normal, Fast While Charging and Fast Always. When set to any option but Normal we will use the
ACTION_TIME_TICK
intent. Fast while charging is only available to users who have the Is Charging sensor enabled otherwise it will default to Fast Always.Enabling this option will require a device restart, much like adding any intents to the Last Update sensor.
Screenshots
Link to pull request in Documentation repository
Documentation: home-assistant/companion.home-assistant#696
Any other notes