Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

雷士智能浴霸V2接入故障 #1448

Open
mazige1997 opened this issue Dec 21, 2023 · 5 comments
Open

雷士智能浴霸V2接入故障 #1448

mazige1997 opened this issue Dec 21, 2023 · 5 comments

Comments

@mazige1997
Copy link

Device model / 设备型号

leishi.bhf_light.lsyb01

Component version / 插件版本

0.7.14

HA core version / HA版本

2023.12.3

Integrated mode / 集成方式

Automatic (自动模式)

The problem / 问题详情

浴霸实体id只有一个(light.leishi_lsyb01_b4fa_light),少于支持的数目
支持的设备链接:https://home.miot-spec.com/spec/leishi.bhf_light.lsyb01

Entity attributes / 实体属性

min_color_temp_kelvin: 2702
max_color_temp_kelvin: 6493
min_mireds: 154
max_mireds: 370
supported_color_modes: brightness, color_temp, onoff
friendly_name: NVC Smart Bath-Heater V2 Light
supported_features: 0
model: leishi.bhf_light.lsyb01
lan_ip:
mac_address:
entity_class: MiotLightEntity
home_room:
miot_type: urn:miot-spec-v2:device:bath-heater:0000A028:leishi-lsyb01:1
light.on: false
light.brightness: 43
light.color_temperature: 6500
state_updater: cloud

Home Assistant Logs / 系统日志

2023-12-21 22:26:09.965 DEBUG (MainThread) [custom_components.xiaomi_miot] Xiaomi cloud device: {'name': 'NVC Smart Bath-Heater V2', 'host': '', 'token': '****', 'model': 'leishi.bhf_light.lsyb01', 'miot_did': '698912879', 'miot_type': 'urn:miot-spec-v2:device:bath-heater:0000A028:leishi-lsyb01:1', 'miio_info': {'ap': {'ssid': '', 'bssid': '', 'rssi': -62}, 'netif': {'localIp': '', 'gw': '', 'mask': ''}, 'fw_ver': '1.0.7', 'hw_ver': '', 'mac': '', 'model': 'leishi.bhf_light.lsyb01', 'token': ''}, 'conn_mode': 'local', 'miot_local': True, 'miot_cloud': False, 'home_name': '', 'room_name': '', 'entry_id': '8729d3603fee21943625c25f2a9865c2', 'config_version': 0.3}
2023-12-21 22:26:09.981 INFO (MainThread) [custom_components.xiaomi_miot.light] NVC Smart Bath-Heater V2(leishi.bhf_light.lsyb01): Initializing miot device with mapping: {'light.on': {'siid': 2, 'piid': 1}, 'light.brightness': {'siid': 2, 'piid': 2}, 'light.color_temperature': {'siid': 2, 'piid': 3}}
2023-12-21 22:26:10.063 DEBUG (MainThread) [custom_components.xiaomi_miot.light] NVC Smart Bath-Heater V2(leishi.bhf_light.lsyb01): Got new state: {'light.on': False, 'light.brightness': 43, 'light.color_temperature': 6500, 'state_updater': 'lan'}
2023-12-21 22:26:10.065 DEBUG (MainThread) [custom_components.xiaomi_miot.light] NVC Smart Bath-Heater V2(leishi.bhf_light.lsyb01): Added to hass: [{'main_miot_services': 'ptc_bath_heater', 'number_properties': 'off_delay_time'}]

@mazige1997
Copy link
Author

Uploading 实体id.JPG…

@mazige1997 mazige1997 changed the title 雷士智能浴霸V2缺少实体 雷士智能浴霸V2接入故障 Feb 2, 2024
@mazige1997
Copy link
Author

麻烦走过路过的大神们看看这个问题

@al-one
Copy link
Owner

al-one commented Feb 3, 2024

尝试master分支

@mazige1997
Copy link
Author

尝试master分支
更新了最新的miot,还是只有一个 控制灯的开关。我看产品规格里有PTC Bath HeaterFan Control,也看了您添加支持的代码,接入该设备后没有switch_properties、select_properties、button_actions这些

@mazige1997
Copy link
Author

尝试master分支

另外在你 add support for leishi.bhf_light.lsyb01之前也可以像目前一样控制灯的开关,但是PTC Bath HeaterFan Control,还是跟现在一样无法操作,也没有生成相关的实体

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants