- 积分
- 782
- 金钱
- 599
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
高级会员
- 积分
- 782
- 金钱
- 599
- HASS币
- 0
|
发表于 2018-3-1 08:43:42
|
显示全部楼层
- alias: say_weather
condition:
condition: time
after: '07:05:00'
before: '19:05:00'
trigger:
- platform: event
event_type: click
event_data:
entity_id: switch.cp
click_type: single
action:
- service: switch.turn_on
data_template:
entity_id: switch.rice
为什么我用这个一直报错 无法启动homeassistant
Config directory: /home/rex/.homeassistant
ERROR:homeassistant.util.yaml:mapping values are not allowed here
in "/home/rex/.homeassistant/automations.yaml", line 2, column 14
ERROR:homeassistant.bootstrap:Error loading /home/rex/.homeassistant/configuration.yaml: mapping values are not allowed here
in "/home/rex/.homeassistant/automations.yaml", line 2, column 14
我是想点击开关 启动另一个开关
帮帮忙谢谢 |
|