Commit Graph

16 Commits (33d9947a7045c411e2cc2c681fdd773c8c56c11b)

Author SHA1 Message Date
Marc Mueller 1722e23df8
Add empty line after module docstring [tests l-p] (#112710) 2024-03-08 14:55:15 +01:00
Erik Montnemery 6908497c3d
Add minor version to config entries (#105479) 2023-12-12 08:44:35 +01:00
Erik Montnemery 7539cf25be
Don't require passing identifiers to DeviceRegistry.async_get_device (#96479)
* Require keyword arguments to DeviceRegistry.async_get_device

* Update tests

* Update tests

* Don't enforce keyword arguments
2023-07-13 13:39:25 -04:00
Paulus Schoutsen eee8566694
Differentiate between device info types (#95641)
* Differentiate between device info types

* Update allowed fields

* Update homeassistant/helpers/entity_platform.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Split up message in 2 lines

* Use dict for device info types

* Extract device info function and test error checking

* Simplify parsing device info

* move checks around

* Simplify more

* Move error checking around

* Fix order

* fallback config entry title to domain

* Remove fallback for name to config entry domain

* Ensure mocked configuration URLs are strings

* one more test case

* Apply suggestions from code review

Co-authored-by: Erik Montnemery <erik@montnemery.com>

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-07-10 09:56:06 -04:00
Aaron Bach 39e0662fc8
Add ability to configure map icons for PurpleAir (#86124) 2023-06-30 08:35:19 -06:00
J. Nick Koston 7b2e743a6b
Fix timeout in purpleapi test (#88715)
https://github.com/home-assistant/core/actions/runs/4264644494/jobs/7423099757
2023-02-24 14:33:25 -05:00
Franck Nijhof d3ed8de232
Update Ruff to v0.0.247 (#88210)
* Update Ruff to v0.0.247

* Fix new found violations
2023-02-15 16:46:03 -05:00
Franck Nijhof ed79265843
Enable Ruff PT006 (#88165)
* Enable Ruff PT006

* Adjust existing cases

* Fix tests

* Remove unneeded parentheses
2023-02-15 14:09:50 +01:00
epenet 2cdc741900
Add type hints to integration tests (part 17) (#88163) 2023-02-15 11:14:04 +01:00
Franck Nijhof ef800335fb
Enable Ruff PT022 (#86792)
* Enable Ruff PT022

* Adjust found cases
2023-01-27 13:57:06 +01:00
Aaron Bach 49b1d6e7fe
Remove workaround for reloading PurpleAir upon device removal (#85086) 2023-01-03 21:24:24 -05:00
Aaron Bach 0a77232444
Renovate PurpleAir tests (#84894) 2023-01-02 12:55:19 +01:00
Aaron Bach d423cbf8eb
Add ability to add/remove PurpleAir sensors in an existing config entry (#83440) 2022-12-18 11:30:05 -07:00
Aaron Bach 9f1c5d70bc
Add re-auth flow to PurpleAir (#83445)
* Add re-auth flow to PurpleAir

* Code review

* Code review

* Code review
2022-12-14 12:29:07 -07:00
Aaron Bach fed308b59d
Add diagnostics support to PurpleAir (#82446)
Add diagnostics to PurpleAir
2022-12-13 09:14:19 -07:00
Aaron Bach e64973c7cc
Add PurpleAir integration (#82110) 2022-12-12 20:32:11 -07:00