make-all / tuya-local

Local support for Tuya devices in Home Assistant
MIT License
1.41k stars 542 forks source link

TYTE-D1 Switch missing #2460

Closed dibi73 closed 2 weeks ago

dibi73 commented 2 weeks ago

Description

I miss the option to turn on/off the switch manually. In the tuya-Version this is possible (shown in the last screenshot of https://github.com/make-all/tuya-local/issues/281#issuecomment-1321191548 ).

Steps to reproduce

I installed all my switches on tuya local. When I try to switch on an off some heating sections manually this mission option is a problem for me.

Expected behaviour

The device should have the option to switch on and of manually. When I press on the button which toggles the switch manually, then "switch_1" changes to "true"

The listing of my device in Device debugging -> JSON Editing

[ { "code": "switch_1", "value": false }, { "code": "countdown_1", "value": 0 }, { "code": "cycle_time", "value": "" }, { "code": "work_mode", "value": "hot" }, { "code": "customize_mode_switch", "value": false }, { "code": "temp_unit_convert", "value": "c" }, { "code": "temp_set_f", "value": 752 }, { "code": "temp_set", "value": 240 }, { "code": "vibration_value", "value": 20 }, { "code": "temp_correction", "value": 0 }, { "code": "cold_delay", "value": 2 }, { "code": "cold_delay_switch", "value": false } ]

Additional context

No response

Confirmation

dibi73 commented 2 weeks ago

I have now found out that when switching to "Heat" the switch is turned on. ThIs is counter-intuitive because my themostats let the water pass through when power is off. So when I press "Heat" from that moment on the room stays cold...