Would love to be able to automate enabling/disabling or hiding/unhiding entities and devices with a service call. Tried writing an automation to disable a camera when we have guests but was surprised the functionality didn’t currently exist. Would also come in handy for disabling seasonal devices like holiday lights/fans/fireplaces etc.
In summary, the feature would be to add service calls to:
I know this is an older post(I guess not that old), but does something like this exists now ? I need to change the status of the entity to disabled during the day to not flood logs or trigger anything, but I cant find a way to automate that. Only found scripts to change the state and thats not what I need. Any help is appreciated. I do see how to do it in GUI btw.
Anyone ever figure this out? Have a similar need but not seen anything. Might just see about scripting the camera to PTZ off into lala land but a true disable/enable would be the ideal solution.
Would be interested in that as well. I simply remove some smart home devices from time to time from the power (via a smart plug) and bring them back later. Instead of errors in the logs this could be handled via an automation.
+1 for this feature. I would love to be able to temporarily or conditionally disable devices via an automation or Boolean switch. Currently setting up Christmas lights with a bunch of Wifi outlets and need to disable my exterior garden lights while the Christmas lights are in use… yet they all use the same automation to turn on an hour before sunset!
For now I’m building seperate automations with identical time triggers but would be great to just disable a device on the front end or even better via an automation…
+1, I would like to disable a polling sensor that creates a lot of traffic based on time - I only need the information in the morning and would disable the entity after a set time.
Home assistant appears to create the device_tracker entity, but creates it as “disabled by integration” in spite of me having explicitly stated that I want to “Enable newly added entities.” (perhaps this is just because the UI needs a language update)
Because the entity is not enabled upon discovery, it seems to not have its attributes in the state machine when one attempts to use a template to report on the attributes of the new entity
This is a nice feature if implemented, as I have my tuya integration has tried 700 times in the last hours for a christmas lights that wont be plugged until December, and logs are flooded stupidly.
Outdoor smart lights on a circuit that is on a dusk to dawn light sensor switrch. When the sun is up and therefor the switch is off, I want the smart devices behind said switch disabled so they don’t throw constant errors while unavailable. At sunset the devices would be re-enabled.
I have a problem with re-enabling an entity (media_player), after disabling it with spookie. The entity is only afer a full restart of HA visible again.
Any ideas?