Home-Assistant-custom-components-Burze.dzis.net
Home-Assistant-custom-components-Burze.dzis.net copied to clipboard
Add sensor entities
I think having weather warnings as sensors with warning level as state would be better. Instead of just 'on/off' we would have information about warning level available immediately in the UI and in history. Right now we have to create template sensors to make warning level visible.
I think I can easily add it as an additional sensor, I will do it in a free time
@PiotrMachowski Did you have some spare time to make this happen ? I have added this integration with HACKS and i can only see binary sensors with on/off state
@MSzczesiak-SH not really, other integrations got higher priority
@MSzczesiak-SH not really, other integrations got higher priority
Any chances on this one to be done ? Or at least ETA ? No rushing, just asking.
@MSzczesiak-SH I plan to do it, but I have a loooooooooot of work with other HA stuff (mostly related to Xiaomi vacuums), so unfortunately I can't provide any ETA
@MSzczesiak-SH I plan to do it, but I have a loooooooooot of work with other HA stuff (mostly related to Xiaomi vacuums), so unfortunately I can't provide any ETA
Fair enough. Thnx for the answer.
Hi @PiotrMachowski , any update? :)
Hi @fcqpl
I have pulled an all-nighter, buuuut I have rewritten the integration from the scratch.
v2.0.0 coming soon
Added in v2.0.0
Hi @PiotrMachowski, thanks for update! Could you also add:
- lightning counter
- distance to lightning and it's direction?
Like on website:
Zarejestrowano w ciągu 10 minut, 2 wyładowania atmosferyczne w wybranym promieniu. Najbliższe wyładowanie atmosferyczne 28,53 km na północny zachód od wskazanej lokalizacji.
Lightning counter has also been added in v2.0.0, distance, period and direction are currently available in attributes of lightning-related entities
{% set entity = 'sensor.burze_dzis_net_0_00_0_00_wyladowania_w_poblizu' %}
Zarejestrowano w ciągu
{{ state_attr(entity, 'period') }}
minut,
{{ states(entity) }}
wyładowania atmosferyczne w wybranym promieniu. Najbliższe wyładowanie atmosferyczne
{{ state_attr(entity, 'distance') }}
km na
{{ {'N':'północ', 'NW':'północny zachód', 'W':'zachód', 'SW':'południowy zachód', 'S':'południe', 'SE':'południowy wschód', 'E':'wschód', 'NE':'północny wschód'}[state_attr(entity, 'direction')] }}
od wskazanej lokalizacji.
Oh, I found it. Thanks!