Comments (4)
I think the only other info required is the range for the desired temperature.
I would expect the desired temperature to work within the range of overlap between the Goldair GPPH's 5-35 and whatever the range is for your heater. Probably it gets an error if you try to go too low though.
I am currently refactoring to use generic classes instead of one for every new device that is supported. What I will do is add a configuration file for this device, and when the generic climate class is ready, it will be supported.
from tuya-local.
The desired temp range is 5 to 40.
The Control when added to the dashboard does not give an option to set the desired temp. If a preset is selected then the temp selector shows up but then the following error occurs and it switches back to heat mode.
2021-05-23 12:21:10 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140408743755680] None
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 167, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1481, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1516, in _execute_service
await handler.job.target(service_call)
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 213, in handle_service
await self.hass.helpers.service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 658, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 726, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 695, in _handle_entity_call
await result
File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 548, in async_service_temperature_set
await entity.async_set_temperature(**kwargs)
File "/config/custom_components/tuya_local/heater/climate.py", line 136, in async_set_temperature
await self.async_set_target_temperature(kwargs.get(ATTR_TEMPERATURE))
File "/config/custom_components/tuya_local/heater/climate.py", line 145, in async_set_target_temperature
limits = self._TEMPERATURE_LIMITS[preset_mode]
KeyError: None
from tuya-local.
The Goldair "heater" type has a dependence on the preset for the allowed temperature range.
Simpler options that might work better are "gsh_heater" and "purline_m100_heater", which also match the first three dps ids, but do not have any complexity in their temperature setting. gsh_heater is probably the best match, as its range is 5-35. purline is 15-35 so will have a reduced range.
from tuya-local.
The gsh_heater type allows changing the desired temp. I didn't spot the similarity of this device for the first three dps ids. Thanks for the pointer.
from tuya-local.
Related Issues (20)
- local.climate.TuyaLocalClimate Bug HA 2024.3 HOT 5
- tuya curtain wifi motor HOT 15
- Request support for LEHMANN-LHOHC-2013C Radiator
- TypeError: unsupported operand type(s) for -: 'NoneType' and 'float' when a light device is unavailable HOT 2
- Request support for EARU WiFi MCB Smart Circuit Breaker HOT 3
- Request support for Zemismart Tuya Zigbee WiFi 3 Phase Energy Meter HOT 1
- Tuyalocal 2024.3.1 breaking HA Yellow HOT 1
- Australian Orion Grid Connect Smart Pan And Tilt Security Camera Indoor HOT 1
- Australian Orion Grid Connect Smart Indoor Siren and Chime
- Australian GU5.3 warm/cool white bulbs Laser & Connect SmartHome
- New Device: Lefant M210 Robot Vacuum Cleaner HOT 1
- Australian Brilliant Smart Wifi Outdoor PIR Sensor
- Request support for WetAir 12L dehumidifier HOT 1
- Request support please for: Orison Low Profile Ceiling Fan HOT 4
- Request support for MOES WS-Y-EUC curtain switch HOT 1
- Request support for WDYK 1P+N 40A ZJSJ2-40 energy meter circuit breaker
- Request support for WF-WS02 RJ-Two Gang Switch HOT 1
- warning appearing at HA Boot HOT 1
- Request support for VEVOR Portable EV Charger Type 2, 16A 3.7 kW HOT 4
- Request Support for Heat Storm HS-1500-ISMW Heater
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tuya-local.