🏠 <b>{{ friendly_name }}</b>{% if area %} <i>({{ area }})</i>{% endif %}
{%- if old_state %}
{{ old_state }} → <b>{{ new_state }}</b>{% if unit_of_measurement %} {{ unit_of_measurement }}{% endif %}
{%- else %}
<b>{{ new_state }}</b>{% if unit_of_measurement %} {{ unit_of_measurement }}{% endif %}
{%- endif %}
{%- if device_class %}
<i>{{ device_class }}</i> · <code>{{ entity_id }}</code>
{%- else %}
<code>{{ entity_id }}</code>
{%- endif %}
