Commit Graph

14 Commits (7bd28532ed6baf79ce2e4498339b3c370d49a78b)

Author SHA1 Message Date
schizza 601d1f3984 Adds rain sensors for different time periods for WSLink
Adds hourly, weekly, monthly, and yearly rain sensors to the integration for WSLink connection.

The units of measurement are corrected for the rain sensor, now displaying millimeters per hour as the station is sending data in mm/h for 'rain' sensor. And cumulative precipitation is in millimeters.

Also includes translations for the new sensors.
2025-04-04 13:10:10 +02:00
schizza 8e97fc7404 Different values displayed on station/cloud and HA - Total rainfall
Fixes #62

Fixes rainfall unit inconsistency

Updates daily rain sensor to use consistent measurement units and corrects device class and suggested unit.

Fixes #62

Adds database path constant and data migration function

Defines DATABASE_PATH constant for database file location
Introduces migrate_data function to update unit of measurement in long statistics.

Adds sensor migration feature

Introduces a migration step for sensor statistics
Updates schema and translations to support migration
Fixes data migration from mm/d to mm
2025-03-15 15:10:49 +01:00
schizza a3dc4f9986 Improves configuration defaults and UI descriptions
Sets default values for optional fields in configuration flow
Enhances descriptions and titles in UI for better clarity
Updates translations
2025-02-18 19:40:46 +01:00
schizza 808fad1d97 webhook refactor,
Refactoring webhook switching.
Added routing management to automaticly update coordinator to avoid restarting HA on configuration change or on new sensor discovery.
2025-02-15 18:16:54 +01:00
schizza 25bb26bb4d WSLink support in beta
Support for firmware 3.0 and WSLink connections.
As for now the 3.0 firmware sending data only on SSL connections.
2025-02-12 13:13:46 +01:00
schizza 66a9993dfc Support for CH3 and CH4 2024-07-15 22:14:20 -05:00
schizza e18762579b Wind chill index
* Add sensor for wind chill index
2024-05-09 14:17:01 +02:00
schizza 8b0cc2d25e Add Heat Index
* Heat index sensor
* Heat index computation is added
2024-05-09 13:26:01 +02:00
schizza d580c21055 Just cleanup.
Cleanup to satisfy HASSfest.
2024-04-19 15:46:13 +02:00
schizza ac7284770a New sensor fo Azimut now supported.
- A new constant `WIND_AZIMUT` is added to allow creating a wind direction sensor that returns a text value from `UnitOfDir` instead of just a numeric degree value.

- The wind direction sensor entity now optionally creates both a numeric wind direction sensor using `WIND_DIR` and a text-based azimuth sensor using `WIND_AZIMUT`. If the numeric one is enabled, the text one will also be added.

So in summary, these changes improve the usability of wind data by adding a more human-readable text version alongside the existing numeric version.
2024-04-18 20:54:57 +02:00
schizza 70bfd56268 Ability to add newly discovered sensors.
* Add discovered sensors to loading queue.
* Notify users that we have new sensors and we need to restart Home Assistant
2024-04-17 13:12:47 +02:00
schizza 5eba5a073d Translation support
Ability to translate component.
2024-03-11 20:19:04 +01:00
schizza 19f7baf7d7 Initial config and ConfigFlow update.
Minor changes to configuration flow.
2024-03-09 15:19:21 +01:00
schizza b0c7c72645 First code commit.
First release of code.
2024-03-08 20:18:04 +01:00