Skip to content

Instantly share code, notes, and snippets.

@iantrich
Created January 3, 2020 14:55
Show Gist options
  • Save iantrich/2b69da1e69240f7d4ffe68e79f9d52d3 to your computer and use it in GitHub Desktop.
Save iantrich/2b69da1e69240f7d4ffe68e79f9d52d3 to your computer and use it in GitHub Desktop.
custom_header:
button_text:
options: >-
{{ hours12 }}:{{ minutesLZ }} {{ AMPM }} - <ha-icon
style='padding-bottom: 3px' icon='mdi:weather-{% if
is_state('weather.dark_sky', 'partlycloudy') -%}partly-cloudy{% elif
is_state('weather.dark_sky', 'clear-night') -%}night{%- else -%}{{
states('weather.dark_sky')}}{%- endif %}'></ha-icon>
{{states.weather.dark_sky.attributes.temperature }}°
chevrons: false
compact_mode: true
exceptions:
- conditions:
query_string: kiosk
config:
kiosk_mode: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment