Marc Mueller
d51487f82a
Import Callable from collections.abc (3) ( #56777 )
2021-09-29 16:19:06 +02:00
GitHub Action
65d14909ee
[ci skip] Translation update
2021-08-27 00:14:42 +00:00
Maciej Bieniek
eb9d242ade
Move AirlySensorEntityDescription to sensor platform ( #55277 )
2021-08-26 18:40:42 +02:00
Maciej Bieniek
bd550c4559
Use AQI, PM1, PM25, PM10 device classes in Airly ( #54742 )
2021-08-18 02:40:06 +02:00
Erik Montnemery
4e07ab1b32
Move temperature conversions to sensor base class (1/8) ( #48261 )
...
* Move temperature conversions to entity base class (1/8)
* Update integrations a-c
* Leave old temperature conversion until all integrations are migrated
* tweak
* Use contextlib.suppress
* Remove the MeasurableUnitEntity mixin
* Address comments, add tests
* Fix f-string
* Drop deprecation warning from base entity class
* Update with _attr-shorthand
* Fix rebase mistakes
* Fix additional rebase mistakes
* Only report temperature conversion once
* Fix additional rebase mistakes
* Format homeassistant/components/bbox/sensor.py
* Fix check for overidden _attr_state
* Remove test workarounds from implementation
* Remove useless None-check
* Tweaks
* Migrate new sensors a-c
* Update climacell
* Push deprecation of temperature conversion forward
* Override __repr__ in SensorEntity
* Include native_value in SensorEntity attributes
* Pylint
* Black
* Black
* Fix rebase mistakes
* black
* Fix rebase mistakes
* Revert changes in august/sensor.py
* Revert handling of unit converted restored state
* Apply code review suggestion
* Fix arlo test
2021-08-11 10:45:05 +02:00
Maciej Bieniek
c0e84a7b32
Use SensorEntityDescription in Airly integration ( #53540 )
2021-07-27 12:08:31 +02:00
GitHub Action
531733da7b
[ci skip] Translation update
2021-07-19 00:09:50 +00:00
Maciej Bieniek
3d556f14a5
Remove `air_quality` platform from Airly integration ( #52225 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-06-28 10:15:56 +02:00
Maciej Bieniek
9d64b64d34
Use attrs instead of properties in Airly integration ( #51712 )
2021-06-10 19:32:41 +02:00
GitHub Action
c81df50191
[ci skip] Translation update
2021-06-06 00:19:43 +00:00
Maciej Bieniek
c9178e58b5
Add support for state class for Airly sensor ( #51285 )
2021-05-31 16:00:58 +02:00
Shay Levy
cf228e3fe5
Add constructor return type in integrations A-D ( #50903 )
2021-05-20 18:51:39 +03:00
Maciej Bieniek
3bdefc5da7
Use constants with TypedDict ( #50879 )
2021-05-20 10:34:32 +01:00
Ville Skyttä
b89c53f759
Type hint device registry identifiers as set of str 2-tuples ( #50355 )
...
* Type hint device registry identifiers as set of str 2-tuples
* Fix airly test
* Really fix airly test, add another migration test
2021-05-10 12:13:45 +02:00
Maciej Bieniek
6df0190aeb
Improve type annotations for Airly integration ( #49898 )
2021-05-07 09:47:52 -05:00
Franck Nijhof
d4d0b93d3b
Clean up connection classes in integrations A-C ( #49888 )
2021-04-30 21:01:52 -10:00
Maciej Bieniek
513685bbea
Add dynamic update interval to Airly integration ( #47505 )
...
* Add dynamic update interval
* Update tests
* Improve tests
* Improve comments
* Add MAX_UPDATE_INTERVAL
* Suggested change
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Use async_fire_time_changed to test update interval
* Fix test_update_interval
* Patch dt_util in airly integration
* Cleaning
* Use total_seconds instead of seconds
* Fix update interval test
* Refactor update interval test
* Don't create new context manager
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-04-27 23:34:53 +02:00
J. Nick Koston
51be2f860a
Reduce boilerplate to setup config entry platforms A-C ( #49681 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-04-26 07:46:55 -10:00
HomeAssistant Azure
020d456889
[ci skip] Translation update
2021-04-21 00:03:47 +00:00
Franck Nijhof
055cdc64c0
Add support for IoT class in manifest ( #46935 )
2021-04-15 10:21:38 +02:00
Marc Mueller
2956eb0902
Update pylint to 2.7.3 ( #48488 )
...
* Update pylint to 2.7.3
* Add class-const-naming-style
* Remove unused-import message
* Additional cleanup
2021-03-29 18:02:56 -10:00
Franck Nijhof
8393a215e9
Clean up superfluous integration setup - part 1 ( #48476 )
2021-03-29 13:22:33 -10:00
J. Nick Koston
a851bff95a
Create async_config_entry_first_refresh to reduce coordinator boilerplate ( #48451 )
2021-03-29 12:51:39 -10:00
Erik Montnemery
9e9ba53f0e
Move SensorEntity last in the inheritance tree ( #48230 )
2021-03-22 20:05:13 +01:00
Erik Montnemery
e0cd7072d6
Migrate integrations a-c to extend SensorEntity ( #48210 )
2021-03-22 12:37:16 +01:00
HomeAssistant Azure
098c53e8b5
[ci skip] Translation update
2021-03-20 00:04:10 +00:00
HomeAssistant Azure
4306c8fbb4
[ci skip] Translation update
2021-03-17 00:03:55 +00:00
HomeAssistant Azure
c11b85af2f
[ci skip] Translation update
2021-03-16 00:04:36 +00:00
Erik Montnemery
6c084ae6ce
Update integrations a-e to override extra_state_attributes() ( #47756 )
2021-03-11 16:51:03 +01:00
Quentame
198ecb0945
Uniformize platform setup ( #47101 )
...
* A platform is not a component
* Fix dynalite
* SUPPORTED_PLATFORMS --> PLATFORMS
* In tests
* In tests 2
* Fix SmartThings
* Fix ZHA test
* Fix Z-Wave
* Revert Z-Wave
* Use PLATFORMS const in ambient_station
* Fix ihc comment
2021-03-02 21:43:59 +01:00
HomeAssistant Azure
44ed6cda40
[ci skip] Translation update
2021-03-01 00:09:01 +00:00
Maciej Bieniek
66027bcef5
Bump airly library to version 1.1.0 ( #47163 )
2021-02-28 12:53:13 +01:00
HomeAssistant Azure
0cb1f61deb
[ci skip] Translation update
2021-02-21 00:07:04 +00:00
Yuval Aboulafia
2a0c36589f
Centralize some Airly constants ( #45985 )
2021-02-05 12:41:36 +01:00
Paulus Schoutsen
959ed6d077
Update translations
2021-02-03 11:46:49 +01:00
Maciej Bieniek
2e50c1be8e
Add nearest method to get data for Airly integration ( #44288 )
...
* Add nearest method
* Add tests
* Move urls to consts
* Simplify config flow
* Fix tests
* Update tests
* Use in instead get
* Fix AirlyError message in tests
* Fix manual update entity tests
* Clean up tests
* Fix after rebase
* Increase test coverage
* Format the code
* Fix after rebase
2021-01-04 23:14:45 +01:00
HomeAssistant Azure
6b743c3d16
[ci skip] Translation update
2020-12-24 00:03:44 +00:00
HomeAssistant Azure
139fb518d6
[ci skip] Translation update
2020-12-23 00:03:22 +00:00
Maciej Bieniek
ccbf857266
Clean Airly config flow ( #44352 )
2020-12-19 09:30:45 -07:00
Maciej Bieniek
97894bd718
Refactor Airly config flow ( #44330 )
2020-12-17 19:34:40 +01:00
HomeAssistant Azure
9e1647d634
[ci skip] Translation update
2020-12-15 00:04:49 +00:00
HomeAssistant Azure
848224262c
[ci skip] Translation update
2020-12-10 00:03:01 +00:00
HomeAssistant Azure
9c63fbfcb1
[ci skip] Translation update
2020-12-07 00:04:18 +00:00
HomeAssistant Azure
6e74f90136
[ci skip] Translation update
2020-12-05 00:03:50 +00:00
HomeAssistant Azure
42f00cff30
[ci skip] Translation update
2020-12-04 00:05:42 +00:00
HomeAssistant Azure
8e6108b9e1
[ci skip] Translation update
2020-12-03 00:04:35 +00:00
Franck Nijhof
f2a371257d
Translation update
2020-12-02 20:51:05 +01:00
Maciej Bieniek
86043b2957
Add support for system health to Airly integrarion ( #43220 )
2020-12-02 19:32:42 +01:00
Paulus Schoutsen
54f3d9078a
Update translations
2020-11-11 12:10:09 +01:00
HomeAssistant Azure
57c6bb96f4
[ci skip] Translation update
2020-11-07 00:04:02 +00:00