Update the lightning conversion calculation. #392
This commit is contained in:
parent
808f0dc5f1
commit
21b21c8800
|
@ -1 +1 @@
|
||||||
2024.4.4
|
2024.5.1
|
|
@ -6,10 +6,6 @@
|
||||||
# Switch to Access_Tokens - https://www.vcloudinfo.com/2020/05/fixing-garadget-in-home-assistant.html
|
# Switch to Access_Tokens - https://www.vcloudinfo.com/2020/05/fixing-garadget-in-home-assistant.html
|
||||||
#-------------------------------------------
|
#-------------------------------------------
|
||||||
|
|
||||||
cover:
|
|
||||||
- platform: mqtt
|
|
||||||
|
|
||||||
|
|
||||||
mqtt:
|
mqtt:
|
||||||
cover:
|
cover:
|
||||||
- name: "Large Garage Door"
|
- name: "Large Garage Door"
|
||||||
|
|
|
@ -46,7 +46,7 @@ automation:
|
||||||
- service: script.notify_engine_two_button
|
- service: script.notify_engine_two_button
|
||||||
data:
|
data:
|
||||||
title: 'Lightning Warning!'
|
title: 'Lightning Warning!'
|
||||||
value1: "Lightning has been detected within {{(states('sensor.blitzortung_lightning_distance') | int / 1.69) | round (1, 'floor')}} Miles of our home. Be careful if outdoors."
|
value1: "Lightning has been detected within {{(states('sensor.blitzortung_lightning_distance') | int / 1.609) | round (1, 'floor')}} Miles of our home. Be careful if outdoors."
|
||||||
title1: 'Snooze Alerts until tomorrow'
|
title1: 'Snooze Alerts until tomorrow'
|
||||||
action1: 'SNOOZE_LIGHTNING'
|
action1: 'SNOOZE_LIGHTNING'
|
||||||
icon1: 'sfsymbols:arrow.up.circle'
|
icon1: 'sfsymbols:arrow.up.circle'
|
||||||
|
@ -55,7 +55,7 @@ automation:
|
||||||
|
|
||||||
- service: script.speech_engine
|
- service: script.speech_engine
|
||||||
data:
|
data:
|
||||||
value1: "Lightning has been detected within {{(states('sensor.blitzortung_lightning_distance') | int / 1.69) | round (1, 'floor')}} Miles of our home. Please make sure everyone is inside the house."
|
value1: "Lightning has been detected within {{(states('sensor.blitzortung_lightning_distance') | int / 1.609) | round (1, 'floor')}} Miles of our home. Please make sure everyone is inside the house."
|
||||||
call_window_check: 1
|
call_window_check: 1
|
||||||
call_garage_check: 1
|
call_garage_check: 1
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue