-
Notifications
You must be signed in to change notification settings - Fork 600
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 persistent connection connected sensor #3752
Comments
This makes sense
good point, I would hate to have 2 sensors but it does make sense to show the user that the connection is established and what value is used for its setting.
This would not work with current architecture. The
you may need to wait about 30 seconds or so in order for it to turn off as its not constantly checking the parameters but once every 30 seconds |
This comment was marked as off-topic.
This comment was marked as off-topic.
Follow the docs and use lower case https://companion.home-assistant.io/docs/notifications/notification-commands#persistent |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
That's a good point but we'd need a better way to communicate the server ID in order to fix the command properly for multi server. To be safe we should probably update the command in the meantime to update the active server when not defined. |
This comment was marked as off-topic.
This comment was marked as off-topic.
It is not, 0 is never used for servers, only for shared settings. |
Server IDs are internal and not meant to be exposed, to update the setting for a specific server you'd send the command from that server. |
Fix for the notification command submitted, let's focus this discussion on the sensor request again. |
Is your feature request related to a problem? Please describe.
I'm wanting to be able to remotely manage when the Mobile App will use a Persistant connection.
For changing the persistent connection, i can use the notification command
command_persistent_connection
However, there is no sensor that returns what the current persistant connection status is.
Describe the solution you'd like
It would be great to see a binary_sensor that reflects the current persistant connection state.
secondary, but not as critical, it would be good to have a Sensor that reports what the current persistant connection setting is (always, home_wifi, screen_on, never).
Perhaps it could be combined into a Select entity.
Describe alternatives you've considered, if any
there's not really an alternative, as i'm unable to get the state of the connection, or the current setting
Additional context
Furthermore, the command_persistent_connection does seem a bit flakey, and isn't as responsive as i would lik.
I can see the notification appearing in the Notification History in Companion App settings, but the persistant connection doesn't always update, or is very slow to update.
The text was updated successfully, but these errors were encountered: