Closed dupan99 closed 2 years ago
Please provide a debug log
hass.log I tried to manually change the object with 'write': true , but it didn't help. This is evidenced by the line in the log: 2022-01-16 21:49:58.917 - warn: hass.0 (3954) Object hass.0.entities.light.mi_control_hub_light.brightness is not writable!
commands to turn on or off seem to be not accepted either
2022-01-16 21:56:49.293 - warn: admin.0 (472) Object of state "hass.0.entities.light.mi_control_hub_light.turn_off" is missing the required property "common.type"
2022-01-16 21:56:49.301 - debug: hass.0 (3954) Send to HASS for service turn_off with light and data {"transition":"true","flash":"true","entity_id":"light.mi_control_hub_light"}
2022-01-16 21:56:49.305 - debug: hass.0 (3954) got answer for call_service success = false, result = undefined
2022-01-16 21:56:49.305 - error: hass.0 (3954) Cannot control hass.0.entities.light.mi_control_hub_light.turn_off: true
2022-01-16 21:57:09.069 - debug: hass.0 (3954) Send to HASS for service turn_on with light and data {"transition":"true","rgb_color":"true","rgbw_color":"true","rgbww_color":"true","color_name":"true","hs_color":"true","xy_color":"true","color_temp":"true","kelvin":"true","brightness":"true","brightness_pct":"true","brightness_step":"true","brightness_step_pct":"true","white":"true","profile":"true","flash":"true","effect":"true","entity_id":"light.mi_control_hub_light"}
2022-01-16 21:57:09.076 - debug: hass.0 (3954) got answer for call_service success = false, result = undefined
2022-01-16 21:57:09.077 - error: hass.0 (3954) Cannot control hass.0.entities.light.mi_control_hub_light.turn_on: true
2022-01-16 21:57:09.066 - warn: admin.0 (472) Object of state "hass.0.entities.light.mi_control_hub_light.turn_on" is missing the required property "common.type"
Please provide a full debug log from start to such a control action
Please provide a full debug log from start to such a control action hass.log
I'm getting the same issue. Any progress?
Ok I checked it now ... it seems that writing to "services" is not working at all ...
I did changed some stuff and would ask you to try GitHub version again please. For the "services" states like turn_off you can now do the following:
Honestly ... implemented it "Blind", so please test it .. can only get better I think.
I would be happy about a new debug log (also if it works)
hehe in fact dduplicate #17
If I follow the instructions I can install the adapter and also configure it correctly. I get the data points displayed in objects. However, no writing of values is possible. In the log the following message appears when writing:
-Object of state "hass.0.entities.light.buro_decke_2.turn_on" is missing the required property "common.type".
-Cannot control hass.0.entities.light.buro_decke_2.turn_on: true
Is there anything else that needs to be adjusted?