『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 3133|回复: 0

[已解决] 有没有大神能帮我看下这两个无效配置是哪儿出了问题?

[复制链接]

6

主题

60

帖子

279

积分

中级会员

Rank: 3Rank: 3

积分
279
金钱
219
HASS币
0
发表于 2017-9-18 20:18:23 | 显示全部楼层 |阅读模式
本帖最后由 kuair 于 2017-9-28 22:39 编辑

如图所示,新手,都是按照教程照搬,但是每次启动的时候总会有这两个跳出来,希望高手能帮助解决,万分感谢。
QQ20170918-201101.png
QQ20170918-201424.png


automation的文件配置如下:
- alias: 'chumen'
  trigger:
    platform: state
    entity_id: binary_sensor.door_window_sensor_xxx
    from: 'off'
    to: 'on'
  condition:
    - condition: time
      after: '00:00:00'
      before: '23:59:59'
    - condition: state
      entity_id: binary_sensor.motion_sensor_xxx
      state: 'on'
  action:
    - service: notify.ios_kuair_iphone
      data:
        title: "安防警报"
        message: "有人出门"
- alias: 'jinmen'
  trigger:
    platform: state
    entity_id: binary_sensor.motion_sensor_xxx
    state: 'on'
  condition:
    - condition: time
      after: '00:00:00'
      before: '23:59:59'
    - condition: state
      entity_id: binary_sensor.door_window_sensor_xxx
      from: 'off'
      to: 'on'
  action:
    - service: notify.ios_kuair_iphone
      data:
        title: "安防警报"
        message: "有人进门"


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-4-20 10:51 , Processed in 0.111733 second(s), 25 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表