45
409
1673
金牌会员
service: notify.weixin_quanjia data: title: 设备掉线提醒 message: text|设备掉线 #这里最好是xxx设备掉线了,这样的提醒,我就知道是哪个设备掉线了。
使用道具 举报
15
689
3689
论坛元老
HomeAssistant
service: notify.weixin_quanjia data: title: 设备掉线提醒 message: >- {{ state_attr("xxx", 'friendly_name')}}设备掉线了
18
583
4550
元老级技术达人
DDDear 发表于 2023-8-30 08:58 xxx填写实体名
查看全部评分
79
1381
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 ( 晋ICP备17001384号-1 )
GMT+8, 2025-6-27 11:14 , Processed in 0.122101 second(s), 26 queries .
Powered by Discuz! X3.5
© 2001-2025 Discuz! Team.