Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95387

How to disable rest sensor when device has no power? (and reenable)

$
0
0

@shawly wrote:

I use the REST API of my Sony Bravia TV to get it’s power state and pull other data from it.

The problem is, the TVs power is cut off when my master-slave socket sees that my AVR is turned off and when the TV has no power the API becomes unavailable.

But my rest sensors keep trying to pull data from the unavailable API resulting in the log to be spammed with errors over night which is pretty unnecessary, so I want to disable the sensors until the presence detection can ping my TV again. The other problem is that the media_player for the bravia won’t come up again as well.

Is it not possible to disable the sensors? I can’t find any solution to this…

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 95387

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>