Hi guys
I have the below automation to open a blind but it just doesnt work, I have similar to close (dont worry about the time i was just messing late last night)
I have this in my automations.yaml
- id: '1606652753814'
alias: Guest Room Blind Open 9am
description: ''
trigger:
- platform: time
at: '23:21'
condition: []
action:
- condition: state
entity_id: input_number.mqtt_shade
state: close
mode: single
- id: '1606652789125'
alias: 'Guest Room Blind Close 9pm '
description: ''
trigger:
- platform: time
at: '23:22'
condition: []
action:
- condition: state
entity_id: input_number.mqtt_shade
state: 'on'
mode: single
Then this in my Configuration.yaml
input_number:
mqtt_shade:
name: Guest Room Blind
initial: 0
min: 0
max: 13
step: 1
automation old:
- alias: Send MQTT Shade Value
trigger:
platform: state
entity_id: input_number.mqtt_shade
action:
- service: mqtt.publish
data_template:
#change the topic to "shadePosition/[your client id]
topic: "shadePosition/Heavy_Roller"
#if you change the name from mqtt_shade you'll need to change this line to your new name
payload_template: "{{ states('input_number.mqtt_shade') | int }}"
qos: 2
retain: true
I think the issue may lie with one of the entries but not sure any help appreciated, I would also like to add a Zigbee button to toggle the blind open if required using “sensor.test_button_action”
many thanks