Closed henrikrox closed 2 years ago
try this:
my_view:
addons:
thermostat:
- title: My thermostats
action: alternative
entities:
- climate.livingroom
@jimz011
That sort of works, but i really want the more-info, as i find the wheel not that great for fine adjusting. with tap_action: more info you get this
with alternative i get this, i know i can press settings on the bottom right, but its an extra step
Ah I understand what you mean, currently this is not available. I will keep it in mind though.
For what it is worth, the thermostat addon will be merged with the button addon, so that you can have thermostats, buttons, graphs, etc in the same stack. This also means that the thermostat will gain most of the options available to the button addon.
ok will look into it, heres what i changed on the old backup files i have before updating to 2022.4.0.
If that is helpful in anyway.
You can close it if you want, if this is not a planned feature.
well, merging it with the button addon means it will get all those features (including custom tap/hold actions)
i fixed it for me
i didnt know it was changed to templates/button/hki-thermostats.yaml
tap_action:
action: more-info
haptic: light
hold_action:
action: fire-dom-event
browser_mod:
command: call-service
service: browser_mod.popup
service_data:
title: ' '
deviceID:
- this
style:
.: |
:host {
--mdc-theme-surface: rgba(0,0,0,0);
--secondary-background-color: rgba(0,0,0,0);
--ha-card-background: rgba(0,0,0,0);
--mdc-dialog-scrim-color: rgba(0,0,0,0.9);
--mdc-dialog-min-height: 100%;
--mdc-dialog-min-width: 100%;
--mdc-dialog-max-width: 100%;
--paper-slider-knob-color: #FFFFFF !important;
--paper-slider-active-color: #dedede !important;
--switch-checked-button-color: #FFFFFF !important;
--switch-unchecked-button-color: #FFFFFF !important;
--switch-checked-track-color: green !important;
--switch-unchecked-track-color: red !important;
}
app-header, app-toolbar {
background-color: rgba(0,0,0,0.0) !important;
}
mwc-icon-button {
color: #FFF;
}
card:
type: custom:thermostat-popup-card
entity: {{ entity }}
fullscreen: false
settings: true
settingsPosition: bottom
settingsCard:
type: custom:more-info-card
cardOptions:
entity: {{ entity }}
haptic: heavy
This bypasses the action:alternative, just need to keep it in mind, each time i update
will close the issue, thanks for the help
@henrikrox This feature has been added in 2022.4.1, you can update within the next hour!
Prior to 2022.4.0 i changed the behaviour of thermostats in base folder here
hki-base/templates/button/thermostats.yaml
I want when i tap the thermostat, more info comes up, not toggling it on or off.
From looking at release notes from 2022.4.0 this is now moved to configuration, however the possible options was not well documented
You can reverse the default tap/hold action behaviour by setting action: alternative for this entire stack at once
Whats the correct yaml representation here
or something?