8
690
4556
论坛元老
- platform: template sensors: key_id: friendly_name: "key_id" value_template: "{{ state_attr('sensor.002c27447cd4_action', 'key_id') }}"
使用道具 举报
20
351
1945
金牌会员
QQ617250210 发表于 2023-3-2 10:10 给你个参考,把我里面的参数换成你的就行了
本版积分规则 发表回复 回帖后跳转到最后一页
Archiver|手机版|小黑屋|Hassbian
GMT+8, 2024-11-25 01:00 , Processed in 0.092397 second(s), 24 queries .
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.