Closed ArtBIT closed 10 months ago
Oh that's a great idea! Thanks! I don't think this would be too hard to add. Although, it would be nice if it were configurable. As these are great defaults, but it would be nice to be able to change them. I'll do some digging and see if there is a way do make this customisable via config options, otherwise I'll add the static list as you suggested.
As first draft, what do you think about this. I added a select entity that allow you to choose from preset target temperatures. Choosing a preset will change the target temperature and the preset will be inversly selected based on target temperature. So, for example, if your mug is set to 55⁰C and that is the temp for your "Latte" preset it will be selected. Choosing Cappuccino will change the target temp to 56⁰C.
I added the presets you suggested by default, but you can change them iby choosing "Configure" on the automation. I tried to find a prettier way to display this, but this was the best compromise I could find so far. I don't like having to specify the unit here, but it was that or forcing people to use celsius or some gymnastics to figure out if they've been changed by the user.
It's available in 1.0.0-beta-1 if you wish to try. However, it is a beta so, there still may be breaking changes.
Omg, that's perfect. That's exactly what I was hoping for. At first I was thinking that reverse selecting the preset when I change the temperature is not working, but it turns out there's is only a slight delay.
The mdi:tea
makes more sense to me for the select.preset, so I've changed it in the card.
Thank you for this! Great work!
Description
I would like to be able to quickly select temperature from a predefined list of temperatures like in the Ember mobile app.
What I Did
I've managed to achieve this by adding an input_select:
And an automation:
Even though this custom component is already amazing (and I thank you for making it), this would make it even more awesome imho.