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

One button, conditional responses, multiple actions. (Node Red?)

$
0
0

@QbaF wrote:

As remote.toggle service is not working as expected, what is the easiest/nicest way to work around it. And is it possible to do it in Node Red?

detailed descripion:
We have, let say, two Picture Entities: “TV” and “Audio”. remote.toggle is working great except when we push turned-off device when the second one is turned on. In this situation the only action is turning-off working device while expected is to turn on the one pressed and switch off the one working.

So there should be (for TV for example):

  • when button TV is pressed
  • check if TV is on
    if Y: TV remote.toggle (or turn_off)
    if N: TV remote.turn_on + Audio remote.turn_off

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95925

Trending Articles



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