|
小米風扇自動化報錯, 求師兄指教, thanks!!
- alias: fan level 1
initial_state: true
hide_entity: true
trigger:
- platform: state
entity_id: input_boolean.fan_level_1
to: 'on'
action:
- service: fan.set_speed
data_template:
entity_id: fan.dining_room_fan
speed: Level1
- alias: fan level 2
initial_state: true
hide_entity: true
trigger:
- platform: state
entity_id: input_boolean.fan_level_2
to: 'on'
action:
- service: fan.set_speed
data_template:
entity_id: fan.dining_room_fan
speed: Level2
- alias: fan level 3
initial_state: true
hide_entity: true
trigger:
- platform: state
entity_id: input_boolean.fan_level_3
to: 'on'
action:
- service: fan.set_speed
data_template:
entity_id: fan.dining_room_fan
speed: Level3
- alias: fan level 4
initial_state: true
hide_entity: true
trigger:
- platform: state
entity_id: input_boolean.fan_level_4
to: 'on'
action:
- service: fan.set_speed
data_template:
entity_id: fan.dining_room_fan
speed: Level4
2018-11-01 21:39:12 ERROR (SyncWorker_0) [homeassistant.util.yaml] while scanning for the next token
found character '\t' that cannot start any token
in "/config/automations.yaml", line 1781, column 1
2018-11-01 21:39:12 ERROR (MainThread) [homeassistant.bootstrap] Error loading /config/configuration.yaml: while scanning for the next token
found character '\t' that cannot start any token
in "/config/automations.yaml", line 1781, column 1
|
|