Change lightning warning sensor to a binary sensor

This commit is contained in:
2023-03-28 01:08:56 -04:00
parent 8b6e9bc31c
commit 3ecdc59c70
9 changed files with 19 additions and 36 deletions

View File

@ -101,7 +101,7 @@
</p>
<p>
{% if is_state('input_boolean.lightning_warning','on') %}
{% if is_state('binary_sensor.lightning_warning','on') %}
{% set ltgdist = (states('sensor.blitzortung_lightning_distance') | int) / 1.609 | round %}
{{ [
"Please ignore that strobing effect in your window. That is mother nature trying to distract you from sleeping. Do not give in! ",