Entire "preset" line disappears in manual thermostat mode, when I have disabled any of the other preset attributes.
kitty99hub opened this issue · 0 comments
Hi,
When I switch the thermostat to manual mode, the weekly program buttons disappear in the "preset bar" and in some case the entire preset bar disapears..
This is probably intentional and makes sense, but I'm wondering if it could be changed so that the weekly programs are still displayed in manual mode?
I would like to always see the available preset programs, even when the thermostat is in manual mode.
In my case, my thermostat provides the following 8 attributes:
boost ; none ; week_program_1 ; week_program_2 ; week_program_3 ; week_program_4 ; week_program_5 ; week_program_6
But I only need the weekly programs 1 and 2.
Hiding the other weekly programs works well and is not a problem.
But if I also deactivate the "boost" and "none" functions, then I encounter a problem with this card.
These two attributes (boost and none) seem to be configured in a way to always be visible, that means in auto mode and in manual mode, what also makes sense for these functions.
On the other hand, the "weekly programs" seem to be configured in such a way that they are only visible in auto mode, which in itself makes also sense.
However, if I deactivate the two attributes "boost" and "none" and leave only the 2 required weekly programs, I encounter a problem with this card.
Everything is still ok in auto mode because the buttons for the 2 weekly programs are still displayed in the preset bar.
However, when I switch the card to manual mode, the preset bar disappears completely.
The weekly programs are then hidden, probably because they are preset in that way in this card, and because I don't use any other attributes that are displayed also in manual mode, the preset bar is empty and will disapear.
However, this also causes a dynamic height adjustment of the card, which represents an additional design problem in the dashboard.
Have I perhaps overlooked something?
Is it a bug or a feature that isn't intended?
PS: I have another question that might be a request.
In the "Action" line I changed the title of the two buttons to "Manual" and "Auto".
At the top left, where the status is displayed in text form (Betriebsmodus:), is still the original status "Heizen" in "Manuell" mode and "Automatisch" in "Auto" mode. Is it possible to adapt the above text output accordingly or to this function to this card?
Many thanks for this card and any support
My yaml code for this card:
`
type: custom:simple-thermostat
entity: climate.004_rt_01
label:
state: Betriebsmodus
sensors:
- entity: sensor.004_rt_01_humidity
icon: mdi:water-percent
layout:
step: table
header: false
control:
hvac:
'off':
name: Aus
heat:
name: Manuell
icon: mdi:hand-back-right-outline
auto:
name: Auto
icon: mdi:calendar-clock-outline
preset:
boost: false
none: false
week_program_1:
name: WP1
week_program_2:
name: WP2
week_program_3: false
week_program_4: false
week_program_5: false
week_program_6: false
fallback: warte auf nächste Daten
`
Screenshots
From yaml code (Unfortunately, the yaml code inserted above is not displayed correctly):
HASSOS, Browser and Card on newest release:
OS: Win10
Browser: Chrome 111.0.5563.111 (64bit)
Simple Thermostat version: 2.5.0
Home Assistant version: HASSOS 2023.4.2 (Supervisor 2023.04.0 / Operating System 9.5 / Frontend 20230406.1)