GithubHelp home page GithubHelp logo

Comments (4)

make-all avatar make-all commented on June 3, 2024

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.

paulmfclark avatar paulmfclark commented on June 3, 2024

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

Screenshot 2021-05-23 at 12 21 44

Screenshot 2021-05-23 at 12 20 07

from tuya-local.

make-all avatar make-all commented on June 3, 2024

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.

paulmfclark avatar paulmfclark commented on June 3, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.