mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-11-07 12:58:44 +00:00
Modernize templates
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
>-
|
||||
|
||||
{%- if is_state('binary_sensor.iss', 'on') -%}
|
||||
Here is something interesting. The international space station is above us now. There are {{ states.binary_sensor.iss.attributes['number_of_people_in_space'] }} people in space right now.
|
||||
Here is something interesting. The international space station is above us now. There are {{ state_attr('binary_sensor.iss','number_of_people_in_space') }} people in space right now.
|
||||
{%- endif -%}
|
||||
|
||||
Reference in New Issue
Block a user