找回密码
 立即注册
查看: 7262|回复: 0

[求助] 求助 自动化 触发 问题!

[复制链接]

28

主题

55

回帖

912

积分

高级会员

积分
912
金钱
829
HASS币
0
发表于 2021-7-16 00:05:23 | 显示全部楼层 |阅读模式
我想做个自动化。手机蓝牙断开设备触发一个开关!

我用 自动化的 图形界面 手机蓝牙两个传感器 sensor.sm_g973f_ble_transmitter 和 sensor.sm_g973f_bluetooth_connection 都用上了! 但是都不工作!

下面是我的yaml

platform: state
entity_id: sensor.sm_g973f_ble_transmitter
attribute: id
from: 48:F0:7B:76:9C:A0
to: 'false'



platform: state
entity_id: sensor.sm_g973f_bluetooth_connection
from: 48:F0:7B:76:9C:A0
attribute: connected_paired_devices
to: 'false'



请问各位朋友 怎么解决啊?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian ( 晋ICP备17001384号-1 )

GMT+8, 2025-5-8 19:46 , Processed in 0.259782 second(s), 23 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表