62
170
623
高级会员
使用道具 举报
35
987
4832
论坛元老
10
687
5802
sctale 发表于 2021-12-3 21:19 推荐Node Red,不去搞特殊研究的话,即学即会。我的HA自动化都在NR上完成的
- alias: DC1关 trigger: - platform: numeric_state entity_id: sensor.phicomm_dc1_1_power below: 'xxx' for: 0:05:00 condition: [] action: - service: switch.turn_off target: entity_id: switch.phicomm_dc1_1_2
查看全部评分
cookiesliy 发表于 2021-12-3 23:37 NR我是看得一头雾水...完全不懂..
48
709
4785
元老级技术达人
1
78
1743
金牌会员
sctale 发表于 2021-12-4 00:18 那就试试HASS自身的自动化,也是图形界面的,我感觉比代码简单多了
cookiesliy 发表于 2021-12-4 22:59 后面的动作没有DC1的实体可选..
sctale 发表于 2021-12-4 23:05 设备和实体是两码事,实体用调用服务操作。HA需要花点时间研究的,或者去闲鱼买个搭建的服务 ...
本版积分规则 发表回复 回帖后跳转到最后一页
Archiver|手机版|小黑屋|Hassbian
GMT+8, 2025-2-27 11:29 , Processed in 0.112832 second(s), 36 queries .
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.