lyibai
发表于 2018-3-9 10:52:40
学习一下
cuican
发表于 2018-3-9 11:41:41
新人报道
rubengh
发表于 2018-3-10 13:19:57
这样就可以了吗
MAPGPS
发表于 2018-3-10 23:53:21
人体传感器是多余的吧?
guessai
发表于 2018-3-11 00:14:45
感謝,來參考一下要怎麼寫
謝謝分享了
qinshouhao
发表于 2018-3-12 11:08:33
学习学习
rexandlanny
发表于 2018-3-12 15:38:43
- alias: nobodycheck
initial_state: true
trigger:
- platform: state
entity_id: binary_sensor.motion_sensor_158d00022320dc
from: 'on'
to: 'off'
condition:
condition: and
condition: template
value_template: '{{states.binary_sensor.motion_sensor_158d00022320dc.attributes["No motion since"] | int>299 }}'
action:
- service: switch.turn_off
entity_id: switch.livingroomlight
请问一下为什么 ini>120 之后就不起作用了是代码哪里有问题吗 只是检测到人就开灯 如果多少时间检测不到就关灯120以下都可以但超过之后 就一直不成功谢谢
咪咪兄
发表于 2018-3-12 16:28:50
回家姐姐斤斤计较
zantiejian
发表于 2018-3-13 12:44:27
为什么没有检测到人要打开灯?
vcprograme
发表于 2018-3-14 15:31:57
学习学习