微信扫码登录
45
411
1685
金牌会员
service: notify.weixin_quanjia data: title: 设备掉线提醒 message: text|设备掉线 #这里最好是xxx设备掉线了,这样的提醒,我就知道是哪个设备掉线了。
使用道具 举报
16
742
4068
论坛元老
HomeAssistant
service: notify.weixin_quanjia data: title: 设备掉线提醒 message: >- {{ state_attr("xxx", 'friendly_name')}}设备掉线了
18
587
4598
元老级技术达人
DDDear 发表于 2023-8-30 08:58 xxx填写实体名
查看全部评分
81
1455
3万
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-10-30 17:29 , Processed in 0.054600 second(s), 9 queries , MemCached On.
Powered by Discuz! X3.5
© 2001-2025 Discuz! Team.