『瀚思彼岸』» 智能家居技术论坛

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

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

[复制链接]

26

主题

80

帖子

866

积分

高级会员

Rank: 4

积分
866
金钱
786
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

GMT+8, 2024-5-16 03:33 , Processed in 0.461071 second(s), 22 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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