-
-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feat] - Add support for more entities #322
Comments
What if we were able to control other thermostats directly. I have something in my mind for some time |
@swingerman Please share with us what your ideas are, and together we can brainstorm on them. |
My idea is to use other thermostats (those that lack features) as heaters or cooler entities. Like this this component could use those thermostats to turn on/off the underlying switches. |
This is a great idea and I think the more features are supported, the more usability scenarios can be created, and that's great. In my case, there is no need to control other thermostats, as I said, the integration is faulty, and with LocalTuya inetgration I can get switches and sensors that allow me to do what I want, however I have to use automations for to sync with "ha-dual-smart-thermostat". |
How far away are you from potentially being able to control other climate devices? My situation is that I am trying to add a second setpoint (to have one setpoint for heating and one for cooling, critical for swing season) to a number of mini splits that only take one setpoint, and are currently exposed in my HA as climate devices. |
Scenario:
I have several thermostats whose integration is faulty (missing features) and I want to create a custom climate entity to replace the faulty integrations.
In this case, the faulty integration is done by the official "tuya" integration.
So I want to get the values using the "LocalTuya" integration, but not creating a
climate
(which also works poorly), but by creatingsensors
,switches
and others...The Problem
Reading values from the device and getting the "ha-dual-smart-thermostat"
climate
in sync is simple.Having the "ha-dual-smart-thermostat"
climate
setting the device values is not possible out-of-the-box, I have to useautomations
to be able to achieve this, and that's what I wanted to avoid, as the whole process tends to get dirty quickly as we add new features.The solution
I think the solution would be to support two new properties, an on/off switch to turn the device on or off and a "
number
" to set the target temperature:Operating mode
climate
is turned on or off, it triggers theaction: switch.turn_on
oraction: switch.turn_off
action depending on its statetype: thermostat
card), then the actionaction: number.set_value
is triggered to set the value of the entity defined intemperature_set
heater
andcooler
properties associated with a switch, although this only allows defining these two statesFuture implementation suggestions (nice-to-have)
mode
property associated with aselect
entity, which would allow several working modes to be supportedtemperature_set
is set, you can read the propertiesmax_temp
,min_temp
andprecision
from thatnumber
entity (ie:max
,min
andstep
attributes).The text was updated successfully, but these errors were encountered: