puppy0505 发表于 2018-2-25 20:48:13

大神 可以有~~~~~~~~~~~~~~~

holy745 发表于 2018-2-26 09:04:14

这个号,谢谢分享

puppy0505 发表于 2018-2-26 19:11:19

大神 帮我看看配置呢
- action:
   - data:
       cache: false
       entity_id: media_player.study
       message: 气温{{states('sensor.temperature_158d00016c8fbd')}}
   service: tts.baidu_say
   alias: '@test'
   condition: []
   id: '1519439330131'
   trigger:
   - entity_id: binary_sensor.switch_158d000183a1b4
   from: 'off'
   platform: state
   to: 'on'
每次都读英文 不读数据咋办啊

rexandlanny 发表于 2018-2-28 07:45:05

谢谢分享

Yang 发表于 2018-2-28 15:35:13

感谢分享

rexandlanny 发表于 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
我是想点击开关 启动另一个开关   
帮帮忙谢谢

sunnywind 发表于 2018-3-1 10:56:55

谢谢楼主分享

crym761224 发表于 2018-3-4 13:45:28

谢谢楼组分享

瀚海晴天 发表于 2018-3-5 14:10:56

来学习下怎么使用

kay7758 发表于 2018-3-20 17:17:19

膜拜大神
页: 1 2 3 4 5 6 [7] 8 9 10 11 12 13 14 15 16
查看完整版本: 脑洞大开系列【自动化】教程 之 一键播报彩云即时天气