Update Lovelace Thermostat Card to include all supported thermostat m…#2039
Update Lovelace Thermostat Card to include all supported thermostat m…#2039zsarnett merged 8 commits intohome-assistant:devfrom callifo:dev
Conversation
|
How do these icons look when on the thermostat? Have you tested all of them? |
|
I haven't went through this code, but would think this would look bad if a thermostat supported all of these modes |
|
We should only support buttons for official operation modes. This list is not it. |
|
Also include a screenshot how this would look. |
|
STATE_HEAT = 'heat' List of Official Modes |
|
We will need screenshots on how each looks. If your thermostat only uses a certain amount of those and you can only test them . The PR should only be for those modes |
|
I'll change it to those and get back to you. I took the list above from the Entity definition so assumed that was the official list. 'Manual' will require an update to the file where its localizing the string value as its not in there. I have tested what mine supports, dry and fan (plus cool/heat), and I can probably use a demo thermostat to mock the rest of them up. I can't see a case where all of these would ever be supported on one card, so the number of elements and width wont be an issue. |
|
Remove Manual from the PR and I think it will be good to go. We currently have a PR for the Manual Mode addition |
|
Ok sweet, will do tonight |
|
Manual removed, to be completed in PR #2036 |
|
I think that dry does need a color because it will be able to set a temperature. Its just like Cool but reduces the Humidity as well. Maybe Like #efbd07 Yellow or something. Really up to you as long as its not totally random haha |
zsarnett
left a comment
There was a problem hiding this comment.
Once Color for dry is added. Good to Merge
|
Done, updated to #efbd07 |
|
Looks Good! 👍 |
|
This is a great evolution, but for HVAC (MQTT HVAC for example), eco mode cannot be used because it behaves more like an addition to the mode than a full mode itself. It's a full mode for a simple air conditionner that can only make frost. But for a reversible (frost and heat) system, eco means heat less when i'm on heat mode and frost less when i'm in cold mode. However, great work, as usual ! |
Add support to Thermostat Card to include other thermostat operation modes,
on
fan_only
eco
dry
idle
electric
performance
high_demand
heat_pump
gas