I've been running the original code forever without any problems and apparently, it's now deprecated and wouldn't work. I tried making the changes that have been suggested but it fails at line 1 when trying to restart. I get the green check indicating everything is fine, but it won't load the file. Note* I've typed in all the indents in the code but it's now showing when the text is published. Here's what I have so far:
mqtt:
cover:
- name: "Motorized Blinds"
command_topic: "BlindsMCU/blindsCommand"
set_position_topic: "blindsMCU/positionCommand"
position_topic: "blindsMCU/positionState"
retain: True
payload_open: "OPEN"
payload_close: "CLOSE"
position_open: 0
position_closed: 12
name: "Livingroom Motorized Blinds"
command_topic: "BlindsMCu_LivingRoom/blindsCommand"
set_position_topic: "BlindsMCU_LivingRoom/positionCommand"
position_topic: "BlindsMCU_Livingroom/positionState"
retain: True
payload_open: "OPEN"
payload_close: "CLOSE"
position_open: 0
position_closed: 12
default_config:
-tts:
- platform: google_translate
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
Any help would be appreciated, thank you.
I've been running the original code forever without any problems and apparently, it's now deprecated and wouldn't work. I tried making the changes that have been suggested but it fails at line 1 when trying to restart. I get the green check indicating everything is fine, but it won't load the file. Note* I've typed in all the indents in the code but it's now showing when the text is published. Here's what I have so far:
mqtt:
cover:
- name: "Motorized Blinds"
command_topic: "BlindsMCU/blindsCommand"
set_position_topic: "blindsMCU/positionCommand"
position_topic: "blindsMCU/positionState"
retain: True
payload_open: "OPEN"
payload_close: "CLOSE"
position_open: 0
position_closed: 12
name: "Livingroom Motorized Blinds"
command_topic: "BlindsMCu_LivingRoom/blindsCommand"
set_position_topic: "BlindsMCU_LivingRoom/positionCommand"
position_topic: "BlindsMCU_Livingroom/positionState"
retain: True
payload_open: "OPEN"
payload_close: "CLOSE"
position_open: 0
position_closed: 12
default_config:
-tts:
- platform: google_translate
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
Any help would be appreciated, thank you.