Add new CURRENT_HVAC constants #710
-
ContextI am working on the Heatmiser climate integration. The Heatmiser devices can be put into a 'standby' mode, and they automatically active a 'preheat' mode to bring the home up to temperature for a scheduled daily time (e.g. the thermostat maybe scheduled to come on at 4pm, but the heating comes on prior to this time to ensure that the home is up to temperate by 4pm - this is the 'preheat' mode) ProposalAdd the following constants to homeassistant/components/climate/const.py CURRENT_HVAC_STANDBY = "standby" ConsequencesIt would be better to use the above common constants in the Heatmiser integration, rather than creating bespoke Heatmiser values. I've already created a PR: home-assistant/core#64194 (Sorry, didn't realise this needed architectural approval beforehand). |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 4 replies
-
I think we don't need
|
Beta Was this translation helpful? Give feedback.
-
Agree with your comments about I've just done a quick search and both Hive and Nest thermostats support a preheat mode (though they use different terminology). I think it would be useful to draw a distinction between standard heating mode ( |
Beta Was this translation helpful? Give feedback.
-
Well, behold, I've just run into 2 cases that could benefit from
I've been working a bit on the latter lately, and now run into a case that would help there (especially in multi-zone cases in case of Plugwise). OpenTherm Gateway is another one that could possibly use this, as preheating is part of OpenTherm specifications (which is why Toon and Plugwise have those in the first place). So that makes:
That could use such an action state. As for the suggested pre-cooling/pre-chill above, I think that would be a compressor state in such case? Although, I think we should leave that out of this architectural change/discussion and learn if that is needed based on demand. Lastly, for the suggested standby, that can be mapped as idle, which we already have. My counter-proposal for this proposal is:
|
Beta Was this translation helpful? Give feedback.
-
It has been a while, but I've discussed this change (as we have changes to the UI for climate pending, which made me go through a couple of Architectural discussions), with Paulus, Erik, and Martin. Time has passed a bit, so things changes a bit in Core. The final and approved proposal for this would be:
../Frenck |
Beta Was this translation helpful? Give feedback.
-
Closing the dicussion, as the change has been merged. |
Beta Was this translation helpful? Give feedback.
It has been a while, but I've discussed this change (as we have changes to the UI for climate pending, which made me go through a couple of Architectural discussions), with Paulus, Erik, and Martin.
Time has passed a bit, so things changes a bit in Core. The final and approved proposal for this would be:
preheating
to theHVACAction
enum (thus creatingHVACAction.PREHEATING
)../Frenck