Comments (3)
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.
from hass-ember-mug-component.
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.
from hass-ember-mug-component.
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!
from hass-ember-mug-component.
Related Issues (20)
- No reconnecting after a restart of Home Assistant HOT 11
- Ember integration not working in Home Assistant OS HOT 22
- Stuck in pair mode HOT 4
- Handle offline mugs more gracefully HOT 5
- Ember mug wont reconnect after resting HA from backup HOT 15
- New ember mug does not connect HOT 10
- Light entity Not Working HOT 7
- Ember Tumbler liquid level never shows 0% even when state is empty and there is indeed no liquid left HOT 7
- Handle state Unknown HOT 22
- Feature request: Ability to disable/enable heating HOT 3
- Object of type MugFirmwareInfo is not JSON serializable HOT 4
- Ember mug integration fails to install HOT 24
- HA "sees" Ember mug, but the integration fails to connect to it. HOT 7
- Temperature units don't change when the unit is changed HOT 4
- Only connects to specific ESPHome Proxy HOT 3
- Integration slow to load HOT 4
- Home assistant - mug integrates, but can't write to it. HOT 4
- Feature Request: Longer unavailability timeout HOT 4
- Shelly support HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hass-ember-mug-component.