This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ########################################################################################## | |
| # My themes file, using some anchors to set generic parts for all themes, and dedicated | |
| # sections for dark and light themes. NOT using the dark_mode functionality, which doesnt | |
| # fit my needs. | |
| # config: | |
| # | |
| # frontend: | |
| # themes: !include_dir_merge_named /config/frontend_themes | |
| # | |
| # @mariusthvdb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| template: | |
| - sensor: | |
| - unique_id: custom_header_option_template | |
| name: Custom header template | |
| state: > | |
| {% if is_state('input_boolean.menu_options_template','on') %} | |
| {% if states('sensor.your_browsermod_id') not in ['unknown','unavailable'] %} /*replace with correct sensor id */ | |
| {{state_attr('sensor.your_browsermod_id','path') |
NewerOlder