tabbed-card icon indicating copy to clipboard operation
tabbed-card copied to clipboard

Added ability to have states in labels

Open dzikimarian opened this issue 2 years ago • 2 comments

Hi, I wanted to have ability to quickly see current temperature, even if graph is in inactive tab, so I've added possibility to put it into label - you do this with: label: Outside ([[ sensor.outside_temperature ]] °C). Result looks like this:

obraz

Code for parsing & accessing state comes from other HA card: https://github.com/PiotrMachowski/lovelace-html-card

If you like it feel free to merge.

dzikimarian avatar Feb 26 '23 14:02 dzikimarian

thanks for your interest in the card. at some point im going to allow for the tabs to be dynamic. there are a few feature requests for that type of thing already here: https://github.com/kinghat/tabbed-card/discussions/categories/feature-requests. could you open a feature request there and mention this PR for me? when i get around to working out that part of the card it will be a good place for further discussion.

kinghat avatar Feb 27 '23 05:02 kinghat

Sure, I've put it here: https://github.com/kinghat/tabbed-card/issues/93 thanks for the interest in this feature.

dzikimarian avatar Feb 27 '23 22:02 dzikimarian