simple-thermostat icon indicating copy to clipboard operation
simple-thermostat copied to clipboard

Feature Request - change size of adjustment controls

Open dberg81 opened this issue 3 years ago • 4 comments

The +/- adjustment controls in compact mode take up a sizable amount of horizontal real estate.

Would it be possible to allow users to adjust the font size of these controls in a separate variable from target temperature (st-font-size-xl)?

Additionally, would it be possible to change the compact mode +/- adjustment controls to </> characters? The step_layout column mode uses these same characters displayed vertically and it's a much cleaner look compared to the +/- characters.

Using <> characters in compact mode displayed horizontally looks more balanced and wouldn't confuse users which direction increases or deceases the target temperature. If not a permanent change, could there be a lovelace setting that allowed users to choose which step adjustment they would like to see? < 1 > vs. - 1 +

dberg81 avatar Sep 08 '20 19:09 dberg81

Shouldn't be too bad to support custom icon choices for the buttons in both modes. I might look into it the next time I set aside an hour to work on the card, which is not often. Hopefully someone will look into this and submit a PR 😺

nervetattoo avatar Nov 12 '20 10:11 nervetattoo

Yes please. As mentioned in https://github.com/nervetattoo/simple-thermostat/issues/177, my cards are now overflowing with the - being shown underneath the temperature.

Thanks very much.

m4rkireland avatar Dec 18 '20 10:12 m4rkireland

Fixed for now using card-mod:

    style: |
      ha-card {
        --st-font-size-xl: 26px;
        --st-font-size-m: 18px;
      }
image

Thanks

m4rkireland avatar Dec 19 '20 10:12 m4rkireland

Why can't my configuration work like this. .

type: custom:simple-thermostat style: | ha-card { --st-font-size-xl: 26px; --st-font-size-m: 18px; } entity: climate........

shadowdavis avatar Nov 06 '21 14:11 shadowdavis