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

Help request: Choose action

$
0
0

Hi.
This automation is driving me crazy:

The choose action keeps going to default, and even when the conditions are not met, it continues when it shouldn’t.


I’m pasting here the yaml of the choose action.

choose:
  - conditions:
      - condition: numeric_state
        entity_id: input_number.veces_z1
        above: 1.9
        below: 2.1
      - condition: trigger
        id:
          - segundo
    sequence: []
  - conditions:
      - condition: numeric_state
        entity_id: input_number.veces_z1
        above: 2.9
        below: 3.1
      - condition: trigger
        id:
          - tercero
    sequence: []
default:
  - condition: numeric_state
    entity_id: input_number.veces_z1
    above: 0.9
    below: 1.1
  - condition: trigger
    id:
      - primero

Any ideas?
is it a better way to write this?
Thanks in advance

8 posts - 4 participants

Read full topic


Viewing all articles
Browse latest Browse all 105656

Trending Articles



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