173 Commits

Author SHA1 Message Date
Joost Lekkerkerker
391ccbafae Add integration_type service to ipma (#159179) 2025-12-16 17:04:29 +01:00
Robert Resch
96f84b2b99 Sort homeassistant json files (#155285) 2025-10-28 10:33:10 +01:00
epenet
28990e1db5 Use runtime_data in ipma (#144972)
* Use runtime_data in ipma

* Cleanup const
2025-05-15 14:43:58 +02:00
Diogo Gomes
6102c2b451 Bump pyipma to 3.0.9 (#138238) 2025-02-10 21:03:31 -05:00
Erik Montnemery
f83c8de8d3 Update signature of platforms' async_setup_entry (#138201) 2025-02-10 21:08:03 +01:00
epenet
9046ab0250 Standardize homeassistant imports in component (i-k) (#136826) 2025-01-29 11:56:50 +01:00
Diogo Gomes
a1d43b9387 Add weather warning sensor to IPMA (#134054)
Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com>
2025-01-07 22:11:24 +00:00
Diogo Gomes
acb511d395 Bump pyipma to 3.0.8 (#134055)
bump pyipma
2024-12-26 21:01:53 +00:00
Sid
c2b3bf3fb9 Enable Ruff RET502 (#115139) 2024-05-21 22:19:33 +02:00
Sid
a5b609f081 Enable ruff TRY401 (#114395)
* Enable ruff TRY401

* fix tests
2024-03-29 07:20:36 +01:00
G Johansson
65230908c6 Remove deprecated forecast attribute from WeatherEntity (#110761)
* Remove deprecated forecast attribute from WeatherEntity

* Fix some

* Ruff

* ipma

* buienradar

* some more

* Some more

* More and more

* strings

* attr_forecast

* Fix nws

* Fix

* remove from coverage

* Remove recorder test

* Review comments
2024-03-27 16:51:29 +01:00
Marc Mueller
efc54971d3 Update empty line formatting after module docstring (#114040) 2024-03-23 00:27:57 +01:00
Diogo Gomes
669dd36daf Add diagnostics platform to IPMA (#105697) 2024-03-13 12:07:28 +01:00
Marc Mueller
2c06d4fcb9 Add empty line after module docstring (2) [components] (#112736) 2024-03-08 19:15:59 +01:00
Marc Mueller
8809d3aa88 Add empty line after module docstring [g-i] (#112699) 2024-03-08 08:52:48 -05:00
Erik Montnemery
52e7912caf Migrate integrations i-m to generic flowhandler (#111863) 2024-02-29 20:08:46 +01:00
Marc Mueller
7a89e58873 Use builtin TimeoutError [e-i] (#109679) 2024-02-05 12:00:37 +01:00
Jan-Philipp Benecke
28281523ec Add pylint plugin to check for sorted platforms list (#108115) 2024-01-16 09:47:53 +01:00
Jan-Philipp Benecke
ed9e738985 Remove ipma entity description required fields mixin (#106039) 2023-12-19 10:35:04 +01:00
Erik Montnemery
0c2485bc03 Freeze integration entity descriptions (#105984)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-18 16:28:13 -10:00
Diogo Morgado
4066f657d3 Add "UV Index" to IPMA (#100383)
* Bump pyipma to 3.0.7

* Add uv index sensor to IPMA
2023-09-27 17:45:21 +02:00
Diogo Gomes
9470c71d49 Fix current condition in IPMA (#100412)
always use hourly forecast to retrieve current weather condition. fix #100393
2023-09-15 07:52:50 +02:00
Joost Lekkerkerker
a2b0149677 Remove config name from IPMA config flow (#98576) 2023-08-23 11:35:04 +02:00
Joost Lekkerkerker
6f4294dc62 Migrate IPMA to has entity name (#98572)
* Migrate IPMA to has entity name

* Migrate IPMA to has entity name
2023-08-17 16:02:22 +02:00
Erik Montnemery
a2e619155a Map ipma weather condition codes once (#98512) 2023-08-16 15:01:54 +02:00
Diogo Gomes
abf065ed76 Fix checks for duplicated config entries in IPMA (#98319)
* fix unique_id

* old unique id detection

* update tests

* match entry not unique_id

* address review
2023-08-16 12:56:47 +02:00
Marc Mueller
71d985e4d6 Use asyncio.timeout [i-n] (#98450) 2023-08-15 14:32:15 +02:00
Abílio Costa
80fa034048 ipma: remove abmantis from codeowners (#98304)
* ipma: remove abmantis from codeowners

I am not currently maintaining this integration.

* Run hassfest

* Try again

---------

Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-08-14 19:36:58 +02:00
Erik Montnemery
ae8f9dcb77 Modernize ipma weather (#98062)
* Modernize ipma weather

* Add test snapshots

* Don't include forecast mode in weather entity unique_id for new config entries

* Remove old migration code

* Remove outdated test
2023-08-12 15:15:09 +02:00
Erik Montnemery
045c327928 Move DeviceInfo from entity to device registry (#98149)
* Move DeviceInfo from entity to device registry

* Update integrations
2023-08-10 22:04:26 -04:00
Diogo Gomes
96bf8ef8d6 Add Risk of Fire sensor to IPMA (#80295) 2023-06-27 16:00:10 +02:00
epenet
f69d76702a Adjust entity registry access in integrations (2) (#88947) 2023-03-01 08:02:51 +01:00
Diogo Gomes
d0d2c3e7c3 Bump pyipma to 3.0.6 (#87867)
bump pyipma
2023-02-11 23:18:34 -05:00
Erik Montnemery
90d7fb8418 Sort manifests 5 (#87026) 2023-02-08 20:35:25 +01:00
Franck Nijhof
939eef3b28 Remove translations from Core (#87543)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
epenet
bb3e0633a4 Add init return type to integrations (#87523)
Add type hints to integrations
2023-02-06 11:37:25 +01:00
Franck Nijhof
baef267f33 String formatting and max line length - Part 3 (#84394) 2022-12-22 13:35:47 +01:00
GitHub Action
f25017313a [ci skip] Translation update 2022-12-09 00:24:29 +00:00
GitHub Action
1f3e5fb4fc [ci skip] Translation update 2022-12-07 00:24:08 +00:00
GitHub Action
0d1f476bee [ci skip] Translation update 2022-12-01 00:33:36 +00:00
epenet
c092f2be04 Use new unit enums in weather integrations (#82938) 2022-11-29 18:13:05 +01:00
GitHub Action
b65d8cc1b3 [ci skip] Translation update 2022-11-28 00:23:09 +00:00
GitHub Action
f3b3193f7a [ci skip] Translation update 2022-11-25 00:24:19 +00:00
Diogo Gomes
180b296426 IPMA Code quality improvement (#77771)
* merge upstream/dev

* remove comment

* coverage increase

* merge upstream/dev

* refactor

* wait for another PR

* remove left overs

* wait for next PR

* only remove on successful unload

Co-authored-by: Shay Levy <levyshay1@gmail.com>

Co-authored-by: Shay Levy <levyshay1@gmail.com>
2022-10-14 00:18:57 +03:00
Diogo Gomes
67779089cd Bump pyipma to 3.0.5 (#78936)
* fix #78928 and review of #78332

* address comment
2022-09-23 16:23:33 +02:00
Diogo Gomes
831c87205f Retry on unavailable IPMA api (#78332)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-09-13 21:00:59 -04:00
Diogo Gomes
1fe5948afd Cleanup IPMA code (#77674)
revert yaml import
2022-09-01 23:15:42 +02:00
Diogo Gomes
f98e86d3a6 Bump pyipma to 3.0.2 (#76332)
* upgrade to pyipma 3.0.0

* bump to support python3.9

* remove deprecated async_setup_platform

* full coverage

* add migrate
2022-08-31 07:00:42 -04:00
epenet
23090cb8a2 Improve entity type hints [i] (#77529) 2022-08-30 19:21:08 +02:00
GitHub Action
ff3fd4c29d [ci skip] Translation update 2022-08-16 00:30:51 +00:00