Closed MerzkayaGnida closed 5 months ago
I would like to request that a feature be added to manually set the device to the disabled state.
HA already has this feature, there is no need to add another way of doing the same thing
The fact is that the services water_heater.turn_off and water_heater.turn_on either generate an error (if applied to device_id):
service: water_heater.turn_off data: {} target: device_id: 6238fba73542780d63c80783853099b4
water_heater.turn_off. extra keys not allowed @ data['device_id']. Got None
or pretend that the service has worked, but does not physically change the state of the device in any way (if applied to entity_id): call service
service: water_heater.turn_off (ore .turn_on) target: entity_id: water_heater.htw_tl data: {}
visually indicates success, but the device does not change state.
service: water_heater.set_away_mode data: away_mode: false target: entity_id: water_heater.htw_tl
results in an error:
water_heater.set_away_mode. Unknown error
In this case, the change in target temperature occurs successfully:
service: water_heater.set_temperature data: temperature: 50 target: entity_id: water_heater.htw_tl
~~In the previous release (2024.3.2), you could manually configure all data In the previous release, you could manually configure all the data (dps id=1) and enable/disable it worked perfectly.~~ Wrong. It was in localtuya.
сб, 1 июн. 2024 г. в 18:35, Jason Rumney @.***>:
HA already has this feature, there is no need to add another way of doing the same thing
— Reply to this email directly, view it on GitHub https://github.com/make-all/tuya-local/issues/1831#issuecomment-2143507653, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMO2HDFJOZO26WVA6S7ZY2TZFHZ4ZAVCNFSM6AAAAABGHW6IROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBTGUYDONRVGM . You are receiving this because you authored the thread.Message ID: @.***>
You can find the list of available services for water heaters here:
https://www.home-assistant.io/integrations/water_heater/#services
Log Message
Device matches desk_lamp with quality of 25%. DPS: {"updated_at": 1713199125.6721308, "1": true, "2": "jiheat", "9": 60, "10": 57, "12": 0, "13": "heating", "14": 85, "20": 0}
Information about DPS mappings
Information about DPS mappings "Query Things Data Model":
Information about DPS mappings
"Device Control / Query Properties" { "result": { "properties": [ { "code": "switch", "custom_name": "", "dp_id": 1, "time": 1713168180815, "value": true }, { "code": "mode", "custom_name": "", "dp_id": 2, "time": 1713168179233, "value": "jiheat" }, { "code": "temp_set", "custom_name": "", "dp_id": 9, "time": 1713168179814, "value": 60 }, { "code": "temp_current", "custom_name": "", "dp_id": 10, "time": 1713183657568, "value": 58 }, { "code": "power_consumption", "custom_name": "", "dp_id": 12, "time": 1713180739969, "value": 3 }, { "code": "work_state", "custom_name": "", "dp_id": 13, "time": 1713180739969, "value": "warm" }, { "code": "surplus_water", "custom_name": "", "dp_id": 14, "time": 1713183657935, "value": 90 }, { "code": "fault", "custom_name": "", "dp_id": 20, "time": 1713168180864, "value": 0 } ] }, "success": true, "t": 1713187226062, "tid": "ebe89b81fb2a11eebfdcf20bbc22db8f" } and "Get the specifications and properties of the device": { "result": { "category": "rs", "functions": [ { "code": "switch", "desc": "{}", "name": "开关", "type": "Boolean", "values": "{}" }, { "code": "temp_set", "desc": "{\"unit\":\"℃\",\"min\":40,\"max\":80,\"scale\":0,\"step\":10}", "name": "温度设置", "type": "Integer", "values": "{\"unit\":\"℃\",\"min\":40,\"max\":80,\"scale\":0,\"step\":10}" } ], "status": [ { "code": "switch", "name": "开关", "type": "Boolean", "values": "{}" }, { "code": "temp_set", "name": "温度设置", "type": "Integer", "values": "{\"unit\":\"℃\",\"min\":40,\"max\":80,\"scale\":0,\"step\":10}" }, { "code": "temp_current", "name": "当前温度", "type": "Integer", "values": "{\"unit\":\"℃\",\"min\":0,\"max\":100,\"scale\":0,\"step\":1}" }, { "code": "power_consumption", "name": "耗电量", "type": "Integer", "values": "{\"unit\":\"kwh\",\"min\":0,\"max\":10000,\"scale\":0,\"step\":1}" }, { "code": "work_state", "name": "工作状态", "type": "Enum", "values": "{\"range\":[\"standby\",\"heating\",\"warm\"]}" }, { "code": "surplus_water", "name": "剩余水量", "type": "Integer", "values": "{\"unit\":\"%\",\"min\":0,\"max\":100,\"scale\":0,\"step\":1}" }, { "code": "fault", "name": "故障告警", "type": "bitmap", "values": "{\"label\":[\"E2\",\"E3\",\"E4\"]}" } ] }, "success": true, "t": 1713187964445, "tid": "a40545fffb2c11eea56dde7960427246"Product ID
Information about how the device functions
https://htwspain.com/es/agua-caliente/termos-electricos/koi-duo/
Just a water heater (in addition to the standard functions of on/off and setting the set temperature, there is a certain smart mode, the meaning of which is some kind of intelligent learning, but access to it from the control or application is only on/off)