JurajNyiri / HomeAssistant-Tapo-Control

Control for Tapo cameras as a Home Assistant component
Apache License 2.0
947 stars 80 forks source link

Feature Request: Recording Sync configuration via sensor #606

Open Spamfast opened 2 weeks ago

Spamfast commented 2 weeks ago

Is your feature request related to a problem? Please describe.

I would like to be able to determine the media sync configuration of a device. This would allow me to omit devices that are not being synced from auto-entities cards showing download status.

Describe the solution you'd like

The integration could expose a per-device binary sensor entity giving the enabled state of the media sync feature.

Alternatively, the existing sensor could have a 'disabled' state as well as an 'idle' state to distinguish the two cases.

Either way, attributes matching the sync duration, storage destination and optionally the two time direction fields would also be useful for status display panels and automation tasks.

Describe alternatives you've considered

At present, I'm manually having to include/exclude and maintain a list of enabled devices which is a bit frustrating given the information is in the configuration.

Additional context

N/A