localtuya icon indicating copy to clipboard operation
localtuya copied to clipboard

add heater(qn) category presets

Open drc38 opened this issue 2 years ago • 6 comments

tested with arlec panel heater

drc38 avatar Jun 22 '22 01:06 drc38

Is https://www.bunnings.co.nz/arlec-2200w-white-grid-connect-smart-convection-panel-heater_p0163657 the device?

CloCkWeRX avatar Jul 24 '22 08:07 CloCkWeRX

Is https://www.bunnings.co.nz/arlec-2200w-white-grid-connect-smart-convection-panel-heater_p0163657 the device?

drc38 avatar Jul 24 '22 08:07 drc38

Is https://www.bunnings.co.nz/arlec-2200w-white-grid-connect-smart-convection-panel-heater_p0163657 the device?

Yes it is

drc38 avatar Jul 24 '22 08:07 drc38

I actually have an error saying that "sleep" doesn't exist, maybe you should change for PRESET_HOME instead of PRESET_SLEEP

PyRowMan avatar Oct 02 '22 12:10 PyRowMan

I actually have an error saying that "sleep" doesn't exist, maybe you should change for PRESET_HOME instead of PRESET_SLEEP

PRESET_SLEEP has not been deprecated? https://github.com/home-assistant/core/blob/dev/homeassistant/components/climate/const.py

drc38 avatar Oct 02 '22 18:10 drc38

I guess it should work better, but I can't get it to work with my everwarm here

Here are the possible instructions if someone have an idea why

Code Type Values
mode Enum { "range": [ "low", "high", "af" ] }
temp_current Integer { "unit": "℃", "min": 0, "max": 50, "scale": 0, "step": 1 }
temp_set Integer { "unit": "℃", "min": 5, "max": 50, "scale": 0, "step": 1 }
switch Boolean "{true,false}"

EDIT:

Finally managed to get it working, I'd added the preset in the wrong code section -_-'

PyRowMan avatar Oct 02 '22 18:10 PyRowMan

I guess it should work better, but I can't get it to work with my everwarm here

Here are the possible instructions if someone have an idea why

Code Type Values mode Enum { "range": [ "low", "high", "af" ] } temp_current Integer { "unit": "℃", "min": 0, "max": 50, "scale": 0, "step": 1 } temp_set Integer { "unit": "℃", "min": 5, "max": 50, "scale": 0, "step": 1 } switch Boolean "{true,false}" EDIT:

Finally managed to get it working, I'd added the preset in the wrong code section -_-'

I've got the same modes as yours. How did you get it working? Could you guide me through this?

behtjes avatar Dec 21 '22 14:12 behtjes

I guess it should work better, but I can't get it to work with my everwarm here Here are the possible instructions if someone have an idea why Code Type Values mode Enum { "range": [ "low", "high", "af" ] } temp_current Integer { "unit": "℃", "min": 0, "max": 50, "scale": 0, "step": 1 } temp_set Integer { "unit": "℃", "min": 5, "max": 50, "scale": 0, "step": 1 } switch Boolean "{true,false}" EDIT: Finally managed to get it working, I'd added the preset in the wrong code section -_-'

I've got the same modes as yours. How did you get it working? Could you guide me through this?

Well once you've inserted the code in the module, and restarted HA it's pretty straightforward, you just have to add a new device and select the modes you've added in the configuration interface :)

PyRowMan avatar Dec 21 '22 15:12 PyRowMan

Hi guys,

Is it possible to approve theses changes ?

PyRowMan avatar Apr 13 '23 11:04 PyRowMan