Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
637 B
432
Indexable
Never
type: markdown
content: |-

  <center><b><font size="6">
  
  {% if is_state('device_tracker.my_phone', 'home') %}
    Adam is at home.
  {% else %}
    Adam is not at home.
  {% endif %}
  
  </font></b>
  <font size="4">


  {% if is_state('switch.ac', 'on') %}
    The Airconditioning is turned on.
  {% else %}
    The Airconditioning is turned off.
  {% endif %}


  The weather is {{ states('weather.forecast_home') }}
  and {{ state_attr('weather.forecast_home', 'temperature') }}°C

  </center></font>
  
card_mod:
  style: |
    ha-card
      {background: transparent; 
       border-style: none;