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

奥普浴霸S368M控制状态自动复位,且无法关闭浴霸 #977

Closed
wrfengg opened this issue Jan 5, 2023 · 1 comment
Closed

Comments

@wrfengg
Copy link

wrfengg commented Jan 5, 2023

Device model / 设备型号

aupu.bhf_light.s368m

Component version / 插件版本

0.7.4

HA core version / HA版本

2023.1.0

Integrated mode / 集成方式

Automatic (自动模式)

The problem / 问题详情

实体AUPU S368M2 PTC Bath Heater控制后会自动恢复原样,无法控制浴霸关闭

Entity attributes / 实体属性

hvac_modes:
  - 'off'
  - heat
min_temp: 16
max_temp: 31
target_temp_step: 1
preset_modes:
  - Low
  - 'off'
current_temperature: null
hvac_action: 'off'
preset_mode: 'off'
model: aupu.bhf_light.s368m
lan_ip: 192.168.0.61
mac_address: 68:AB:BC:31:7D:38
entity_class: MiotClimateEntity
home_room: 新家 公卫
miot_type: urn:miot-spec-v2:device:bath-heater:0000A028:aupu-s368m:1
ptc_bath_heater.mode: 2
ptc_bath_heater.blow: false
ptc_bath_heater.ventilation: false
ptc_bath_heater.dryer: false
onoff.on: false
fan_control.on: false
light.on: false
state_updater: lan
friendly_name: AUPU S368M2 PTC Bath Heater
supported_features: 16
sub_entities:
  - Low
  - ptc_bath_heater-4.blow-7
  - ptc_bath_heater-4.ventilation-8
  - ptc_bath_heater-4.dryer-9
  - light-2

Home Assistant Logs / 系统日志

image

2023-01-05 16:16:42.528 DEBUG (SyncWorker_11) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request miot api: v2/message/v2/typelist {} result: bytearray(b'{"code":0,"message":"ok","result":{"messages":[{"msg_id":1609065817801150464,"uid":129474115,"type":6,"sender_uid":0,"did":"577036811","title":"\xe6\xb8\x85\xe6\x89\xab\xe5\xae\x8c\xe6\x88\x90\xef\xbc\x8c\xe5\xbc\x80\xe5\xa7\x8b\xe8\xbf\x94\xe5\x9b\x9e\xe5\x9f\xba\xe5\xba\xa7","content":"\xe7\x9f\xb3\xe5\xa4\xb4\xe8\x87\xaa\xe6\xb8\x85\xe6\xb4\x81\xe6\x89\xab\xe6\x8b\x96\xe6\x9c\xba\xe5\x99\xa8\xe4\xba\xbaG10S","img_url":"","params":{"body":{"alertType":"","did":"577036811","event":"8.6","extra":[],"homeRoomExtra":{"homeName":"\xe6\x96\xb0\xe5\xae\xb6","roomName":"\xe5\xae\xa2\xe5\x8e\x85"},"home_id":155001507437,"identify":"577036811","model":"roborock.vacuum.a46","msgId":"1609065817801150464","name":"\xe7\x9f\xb3\xe5\xa4\xb4\xe8\x87\xaa\xe6\xb8\x85\xe6\xb4\x81\xe6\x89\xab\xe6\x8b\x96\xe6\x9c\xba\xe5\x99\xa8\xe4\xba\xbaG10S","owner_uid":129474115,"priority":"","time":1672466160,"us_id":0,"value":[]},"devicePush":true,"model":"roborock.vacuum.a46","type":"scene"},"is_new":1,"status":0,"ctime":1672466160,"last_modify":1672466160,"home_id":0,"home_owner":0}]}}')
2023-01-05 16:16:42.530 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Finished fetching xiaomi_miot-mihome-message-129474115 data in 0.198 seconds (success: True)
2023-01-05 16:16:46.447 DEBUG (SyncWorker_5) [custom_components.xiaomi_miot.climate] AUPU S368M2(aupu.bhf_light.s368m): Set miot property {'did': '547331512', 'siid': 5, 'piid': 1, 'value': True}, result: {'did': '547331512', 'siid': 5, 'piid': 1, 'code': 0}
2023-01-05 16:16:46.447 DEBUG (SyncWorker_5) [custom_components.xiaomi_miot.climate] AUPU S368M2(aupu.bhf_light.s368m): Set miot property fan_control.on(True), result: {'did': '547331512', 'siid': 5, 'piid': 1, 'code': 0}
2023-01-05 16:16:46.574 DEBUG (SyncWorker_5) [custom_components.xiaomi_miot.climate] AUPU S368M2(aupu.bhf_light.s368m): Set miot property {'did': '547331512', 'siid': 4, 'piid': 2, 'value': 2}, result: {'did': '547331512', 'siid': 4, 'piid': 2, 'code': 0}
2023-01-05 16:16:46.574 DEBUG (SyncWorker_5) [custom_components.xiaomi_miot.climate] AUPU S368M2(aupu.bhf_light.s368m): Set miot property ptc_bath_heater.mode(2), result: {'did': '547331512', 'siid': 4, 'piid': 2, 'code': 0}
2023-01-05 16:16:47.889 DEBUG (MainThread) [custom_components.xiaomi_miot.climate] AUPU S368M2(aupu.bhf_light.s368m): Got new state: {'ptc_bath_heater.mode': 2, 'ptc_bath_heater.blow': False, 'ptc_bath_heater.ventilation': False, 'ptc_bath_heater.dryer': False, 'onoff.on': False, 'fan_control.on': False, 'light.on': False, 'state_updater': 'lan'}
2023-01-05 16:16:49.607 DEBUG (SyncWorker_24) [custom_components.xiaomi_miot.climate] AUPU S368M2(aupu.bhf_light.s368m): Set miot property {'did': '547331512', 'siid': 5, 'piid': 1, 'value': True}, result: {'did': '547331512', 'siid': 5, 'piid': 1, 'code': 0}
2023-01-05 16:16:49.608 DEBUG (SyncWorker_24) [custom_components.xiaomi_miot.climate] AUPU S368M2(aupu.bhf_light.s368m): Set miot property fan_control.on(True), result: {'did': '547331512', 'siid': 5, 'piid': 1, 'code': 0}
2023-01-05 16:16:49.724 DEBUG (SyncWorker_24) [custom_components.xiaomi_miot.climate] AUPU S368M2(aupu.bhf_light.s368m): Set miot property {'did': '547331512', 'siid': 4, 'piid': 2, 'value': 2}, result: {'did': '547331512', 'siid': 4, 'piid': 2, 'code': 0}
2023-01-05 16:16:49.725 DEBUG (SyncWorker_24) [custom_components.xiaomi_miot.climate] AUPU S368M2(aupu.bhf_light.s368m): Set miot property ptc_bath_heater.mode(2), result: {'did': '547331512', 'siid': 4, 'piid': 2, 'code': 0}
2023-01-05 16:16:51.038 DEBUG (MainThread) [custom_components.xiaomi_miot.climate] AUPU S368M2(aupu.bhf_light.s368m): Got new state: {'ptc_bath_heater.mode': 2, 'ptc_bath_heater.blow': False, 'ptc_bath_heater.ventilation': False, 'ptc_bath_heater.dryer': False, 'onoff.on': False, 'fan_control.on': False, 'light.on': False, 'state_updater': 'lan'}
@wrfengg wrfengg changed the title 奥普浴霸S368M控制状态自动复位 奥普浴霸S368M控制状态自动复位,且无法关闭浴霸 Jan 5, 2023
@al-one
Copy link
Owner

al-one commented Jan 8, 2023

已修复。

@al-one al-one closed this as completed Jan 8, 2023
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