hi there
i have a small automation but i wish to meet 2 conditions - see below on the code. what code should i add on the marked line? thanks a lot
- id: Abrir_estore_acordar
alias: Acorda
trigger:
- at: 07:30:00
platform: time
condition:
#### >>>> what condition so that following lines only run if payload of the roller is <10
condition:
condition: time
weekday:
- mon
- tue
- wed
- thu
- fri
action:
- data_template:
payload: '30'
topic: shellies/shellyswitch25-73C369/roller/0/command/pos
service: mqtt.publish