45
453
1655
金牌会员
service: notify.weixin_quanjia data: title: 设备掉线提醒 message: text|设备掉线 #这里最好是xxx设备掉线了,这样的提醒,我就知道是哪个设备掉线了。
使用道具 举报
13
662
3403
论坛元老
HomeAssistant
service: notify.weixin_quanjia data: title: 设备掉线提醒 message: >- {{ state_attr("xxx", 'friendly_name')}}设备掉线了
18
592
4412
元老级技术达人
DDDear 发表于 2023-8-30 08:58 xxx填写实体名
查看全部评分
77
1410
2万
louis_lee 发表于 2023-8-30 09:07 自动化trigger是啥,没贴上啊。可以利用trigger variable 输出掉线设备。 https://www.home-assistant.io/ ...
"{{ trigger.id }}: {{ trigger.from_state.state }} to {{ trigger.to_state.state }}"
shayulei 发表于 2023-8-31 09:03 [md] ``` "{{ trigger.id }}: {{ trigger.from_state.state }} to {{ trigger.to_state.state }}"
本版积分规则 发表回复 回帖后跳转到最后一页
Archiver|手机版|小黑屋|Hassbian
GMT+8, 2025-2-25 13:41 , Processed in 0.057971 second(s), 30 queries .
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.