3
43
316
论坛分享达人
- id: tfface alias: face_unlock trigger: platform: template # value_template: '{{state_attr('sensor.faceunlock', 'score01') }}' value_template: '{{ sensor.faceunlock.attributes.score01 | float > 0.6 }}' action: - alias: car data: {} entity_id: switch.door service: switch.turn_on
使用道具 举报
26
2096
8510
论坛元老
automation: - alias: xxx trigger: - platform: numeric_state entity_id: sensor.faceunlock value_template: '{{ state.attributes.score01 }}' above: 0.8 - platform: numeric_state entity_id: sensor.faceunlock value_template: '{{ state.attributes.score02 }}' above: 0.8
情非殇 发表于 2020-1-15 21:35
21
188
1481
金牌会员
chychyy 发表于 2020-1-15 21:45 非常感谢!明天我试一下。 请问,这两个触发,是或的关系么?
13
333
1418
本版积分规则 发表回复 回帖后跳转到最后一页
为论坛做出突出贡献的会员
Archiver|手机版|小黑屋|Hassbian
GMT+8, 2024-4-26 18:32 , Processed in 0.114691 second(s), 28 queries .
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.