chrisjshull / homebridge-nest

Nest plugin for HomeBridge
714 stars 112 forks source link

add preset_mode(s) support #578

Open pejotigrek opened 2 years ago

pejotigrek commented 2 years ago

Is your feature request related to a problem? Please describe. I use Simple Thermostat lovelace card to control my Nest thermostat. I've noticed that depending on what integration I use [I don't like all changes made into the built-in (let's call it BI) HomeAssistant Nest integration, so I am planning to switch to this one - Homebridge-Nest (let's call it HB)] some options differ and some of the functionality is cut down.

in (BI) there is an attribute: preset_modes, which displays all modes understood and available in Nest Thermostat - none, away, eco, Away and Eco (at least my Nest shows that), and also attribute preset_mode, displaying the currently used mode. those both attributes are used by mentioned card [configurable with names, icons etc.] to display some buttons [for mode notification but also working as mode changing button], as shown below [last row of buttons]:

image

in (HB) there are no attributes that reflect preset mode(s), so it is impossible to see the actual mode or to change one by hand:

image

Describe the solution you'd like I'd love to see those two attributes working in Homebridge-nest integration - they partially look like a combination of other attributes already working in integration, so maybe it won't be a big deal to add them. but also I am not a programmer, so my maybe can be waaay too optimistic ;)

Describe alternatives you've considered in a desperate idea I was thinking about playing with template thermostat in HomeAssistant, but I'm not so sure if it will add those parameters and also I didn't want to make "a thermostat inside a thermostat" ;)

pejotigrek commented 2 weeks ago

..