Commit Graph

174 Commits (847b10fa65eebf1fa97279b68bb9d164c4689b8e)

Author SHA1 Message Date
GitHub Action 9e606abb0c [ci skip] Translation update 2021-11-23 00:13:54 +00:00
Aaron Bach 394ccae8a1
Migrate appropriate Ambient PWS sensors to use datetime state objects (#59942) 2021-11-19 18:06:39 -07:00
GitHub Action 72b0eb719e [ci skip] Translation update 2021-11-20 00:12:27 +00:00
GitHub Action 29dc9de08f [ci skip] Translation update 2021-11-19 00:14:01 +00:00
Aaron Bach a78176e192
Perform some Ambient PWS code cleanup (#58859)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-11-16 11:56:17 +01:00
Aaron Bach b2f2c76e5a
Fix broken Ambient PWS config entry migration (#59618) 2021-11-13 14:20:26 +01:00
Aaron Bach 303b6bc4f1
Add configuration URL for Ambient PWS (#59616) 2021-11-13 14:19:04 +01:00
GitHub Action e35b83081e [ci skip] Translation update 2021-11-08 00:12:31 +00:00
Aaron Bach a4a5a2e782
Bump aioambient to 2021.10.1 (#58708) 2021-10-29 14:43:39 -05:00
Aaron Bach e2e19cf4b4
Bump aioambient to 2021.10.0 (#58494) 2021-10-26 17:44:40 -06:00
Robert Hillis 59fe30e589
Use DeviceInfo class - A (#57859) 2021-10-22 16:35:39 +02:00
Aaron Bach 61e093cecd
Make sure Ambient PWS data storage conforms to standards (#57807) 2021-10-22 12:17:25 +02:00
GitHub Action 4634b65924 [ci skip] Translation update 2021-10-21 00:12:43 +00:00
Aaron Bach 38586d2cf1
Add entity categories for appropriate Ambient PWS entities (#58100) 2021-10-20 15:17:28 -07:00
Aaron Bach b980dc7e33
Use current config entry standards for Ambient PWS (#57133) 2021-10-07 22:19:03 +03:00
Aaron Bach 80c97a2416
Remove injected logger in Ambient PWS and OpenUV (#56920)
* Remove injected log in OpenUV

* Add Ambient
2021-10-02 10:45:33 -06:00
Aaron Bach 4b68700763
Add long-term statistics for Ambient PWS sensors (#55412) 2021-09-30 11:20:14 +02:00
Aaron Bach 76f21452ee
Bump aioambient to 1.3.0 (#55468) 2021-08-30 23:05:28 +02:00
Aaron Bach 4aed0b6ccf
Use EntityDescription - ambient_station (#55366) 2021-08-28 21:31:18 -06:00
GitHub Action 65d14909ee [ci skip] Translation update 2021-08-27 00:14:42 +00: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
Aaron Bach 930c1dbe9b
Bump aioambient to 1.2.6 (#54442) 2021-08-11 09:58:53 +02:00
Aidan Timson d18ca62f60
Bump aioambient to 1.2.4 (#53467) 2021-07-25 12:23:38 -06:00
GitHub Action ecf0d4398d [ci skip] Translation update 2021-07-22 00:10:31 +00:00
Marc Mueller fd2f15b7c7
Add new unit constants (#53258)
* Add new unit constant - MHz

* Add new unit constants - precipitation (in, in/h)
2021-07-21 12:14:47 -06:00
Aaron Bach 56efee4603
Ensure Ambient PWS is strictly typed (#53251)
* Ensure Ambient PWS is strictly typed

* Fix typing
2021-07-20 21:52:05 -05:00
Aaron Bach 9fb05736e4
Add type annotations to Ambient PWS (#52596) 2021-07-06 20:19:58 +02:00
Aaron Bach d980dd8d59
Deprecate YAML config for Ambient PWs (2021.9.0 removal) (#52459) 2021-07-03 14:45:51 -05:00
Aaron Bach cb2b6f5ff4
Remove redundant property definitions in Ambient PWS (#52350) 2021-07-01 00:30:54 +02:00
GitHub Action 330f713e43 [ci skip] Translation update 2021-06-08 00:21:17 +00:00
GitHub Action c81df50191 [ci skip] Translation update 2021-06-06 00:19:43 +00:00
Franck Nijhof d4d0b93d3b
Clean up connection classes in integrations A-C (#49888) 2021-04-30 21:01:52 -10: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
J. Nick Koston 20ead7902a
Fix memory leak in ambient_station on reload (#49455) 2021-04-20 09:17:08 -07:00
Franck Nijhof 055cdc64c0
Add support for IoT class in manifest (#46935) 2021-04-15 10:21:38 +02:00
Ben Hale e68678e336
Upgrade aioambient to 1.2.4 (#49035) 2021-04-10 20:19:31 -06:00
Aaron Bach efa6079c62
Fix incorrect constant import in Ambient PWS (#48574) 2021-04-01 08:00:39 +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
conflipper 56abe25c1f
Add Ambient Station PM25 indoor sensor (#47970) 2021-03-27 18:01:33 +01: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 c11b85af2f [ci skip] Translation update 2021-03-16 00:04:36 +00:00
Mick Vleeshouwer 461e766a93
Add device class CO2 to various integrations (#47676)
* Add device class CO2 to Fibaro

* Add device class CO2 to Awair

* Add device class CO2 to Tasmota

* Add device class CO2 to Netatmo

* Add device class CO2 to Ambient Station

* Update Tasmota tests

* Remove icon
2021-03-10 12:52:55 +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 0cb1f61deb [ci skip] Translation update 2021-02-21 00:07:04 +00:00
Paulus Schoutsen 959ed6d077 Update translations 2021-02-03 11:46:49 +01:00
HomeAssistant Azure 848224262c [ci skip] Translation update 2020-12-10 00:03:01 +00:00
HomeAssistant Azure 42f00cff30 [ci skip] Translation update 2020-12-04 00:05:42 +00:00
Aaron Bach 8779592952
Move Ambient PWS logger to a package logger (#43448) 2020-11-20 21:20:56 +01:00
springstan 30b94892c4
Use strings instead of f-strings for constants (#40619) 2020-11-09 10:09:53 +01:00