Support for "range" style thermostats in auto mode
See original GitHub issueI have an ecobee 3 thermostat, and the current Climate tile doesn’t work with it because the “temperature” attribute on the ecobee in HA is null if the thermostat is in Auto mode (more info here):
I am working on a solution for displaying the range of temps; I altered the climateTarget function to do this:
$scope.climateTarget = function (item, entity) {
var value = entity.attributes.temperature;
if(value == null) {
//This is a thermostat that has high/low target temps
value = entity.attributes.target_temp_low + " - " + entity.attributes.target_temp_high;
}
if(item.filter) return item.filter(value);
return value;
};
Which works fine. The problem is handling the temperature adjustment. In Home Assistant it looks like this:
I don’t think cramming two “+/-” button sets onto a single tile is a good idea. Too many opportunities for accidental taps. Interested in everyone’s ideas on how to handle this…perhaps a popup with the adjustment buttons?
Issue Analytics
- State:
- Created 5 years ago
- Comments:12 (2 by maintainers)
Top Results From Across the Web
Thermostat Automatic Changeover! Temperature Range Setting!
Controlling heat and ac at the same time. Learn how to set a temp range on your thermostat ! Auto Changeover saves you...
Read more >Programmable Thermostat: How to Use & Set for Every Season
Learn what the four types of programmable thermostats are, how to choose the right one for you, and how to set it right...
Read more >Does this auto switch from heat to air condition ... - Amazon.com
Although the thermostat defaults to "Auto" mode being disabled, it can be programmed to do what you want in the set-up (ISU) menu....
Read more >What is Auto Mode, and how do I use it? | Sensi US
Select “Auto” to allow the thermostat to switch between heating and cooling based on room temperature and the selected heating and cooling set...
Read more >The 4 Best Smart Thermostats of 2022 | Reviews by Wirecutter
An included remote SmartSensor detects your presence and your temperature, and it can be placed in an area that's too cold or warm...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m not a huge fan of sliders on thermostats, hard to get the desired precision vs tapping a + or - icon a couple times. Perhaps a long press on the tile brings up the high and low setpoints with up and down arrows above each of them in place of the sliders?
here’s an idea for the tile if its on auto mode. Probably wouldn’t fit in a single-wide tile though.
The 72 would be
current_temperature
, 70 would betarget_temp_high
, and 65 would betarget_temp_low