domoticz-zigbee2mqtt-plugin icon indicating copy to clipboard operation
domoticz-zigbee2mqtt-plugin copied to clipboard

Bug.TRV TS0601 - not working selector of system mode

Open pawol opened this issue 3 years ago • 0 comments

I would like to report bug. I have issue as below: The file TS0601.py contains wrong and not working function: Now is: mode_switch = SelectorSwitch('mode', 'system_mode', ' (Mode)') mode_switch.add_level('Off', 'off') mode_switch.add_level('Auto', 'auto') mode_switch.add_level('Manual', 'manual') mode_switch.add_level('Comfort', 'comfort') mode_switch.add_level('Eco', 'eco') mode_switch.add_level('Boost', 'boost') mode_switch.add_level('Complex', 'complex') mode_switch.set_selector_style(SelectorSwitch.SELECTOR_TYPE_MENU) mode_switch.set_icon(15)

Should be: mode_switch = SelectorSwitch('mode', 'system_mode', ' (Mode)') mode_switch.add_level('Off', 'off') mode_switch.add_level('Auto', 'auto') mode_switch.add_level('Heat', "heat') mode_switch.set_selector_style(SelectorSwitch.SELECTOR_TYPE_MENU) mode_switch.set_icon(15)

It seems also that Off and Auto does not work despite these two entries were proper.

If you want just give me privat contact to you. I can help to resolve a few issues with TS0601

Rgds Pawel

pawol avatar Sep 26 '21 07:09 pawol