1
mirror of https://github.com/home-assistant/core synced 2024-07-30 21:18:57 +02:00
Commit Graph

203 Commits

Author SHA1 Message Date
GitHub Action
a1176cc79a [ci skip] Translation update 2021-10-18 00:11:59 +00:00
Aaron Bach
3da3d26573
Make sure AirVisual data storage conforms to standards (#57806) 2021-10-16 23:58:39 -06:00
GitHub Action
c76e15149c [ci skip] Translation update 2021-10-17 00:12:27 +00:00
Aaron Bach
b72f1553ea
Use current config entry standards for AirVisual (#57132) 2021-10-11 09:17:43 -06:00
GitHub Action
d55a7e5cc7 [ci skip] Translation update 2021-10-09 00:11:46 +00:00
Aaron Bach
4104a3dee6
Use built-in logic for options handler in AirVisual (#57131) 2021-10-08 14:20:57 -05:00
GitHub Action
f42c2f5170 [ci skip] Translation update 2021-10-02 12:59:05 +00:00
Aaron Bach
441e99b439
Add long-term statistics for AirVisual sensors (#55415) 2021-09-14 22:08:54 +02:00
GitHub Action
19dcb19d07 [ci skip] Translation update 2021-09-04 00:13:17 +00:00
GitHub Action
291a2d6258 [ci skip] Translation update 2021-08-29 00:11:57 +00:00
GitHub Action
65d14909ee [ci skip] Translation update 2021-08-27 00:14:42 +00:00
Aaron Bach
c9e8d42405
Use EntityDescription - airvisual (#55125) 2021-08-25 10:51:02 +02:00
GitHub Action
1661de5c19 [ci skip] Translation update 2021-08-17 00:12:45 +00:00
GitHub Action
370b7f387d [ci skip] Translation update 2021-08-14 00:11:27 +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
GitHub Action
98bcdc2cf5 [ci skip] Translation update 2021-08-07 00:10:12 +00:00
GitHub Action
64c9f9e1cb [ci skip] Translation update 2021-08-06 00:15:04 +00:00
GitHub Action
ba93bda3ad [ci skip] Translation update 2021-08-05 00:34:46 +00:00
GitHub Action
8c5620e74b [ci skip] Translation update 2021-08-02 03:40:04 +00:00
Marc Mueller
0815eede4b
Replace lists with tuples (2) (#53685) 2021-07-30 01:20:03 +02:00
Aaron Bach
e04b2c2e35
Bump pyairvisual to 5.0.9 (#53578) 2021-07-27 21:39:58 +02:00
Franck Nijhof
d4c4263730
Adjust typing of _attr_extra_state_attributes (#53529) 2021-07-27 01:25:22 +02:00
GitHub Action
7fa8586b17 [ci skip] Translation update 2021-07-24 00:08:57 +00:00
GitHub Action
969be5c539 [ci skip] Translation update 2021-07-23 00:12:05 +00:00
GitHub Action
ecf0d4398d [ci skip] Translation update 2021-07-22 00:10:31 +00:00
Aaron Bach
8d9345c407
Add missing type annotations to Airvisual (#52615) 2021-07-21 22:18:08 +02:00
Robert Hillis
7fef87691a
Use entity class attributes for airvisual (#52503)
* Use entity class attributes for airvisual

* fix

* rework

* tweaks

* finish

* remove overriden available attribute

* rework
2021-07-21 14:07:26 +02:00
GitHub Action
9d93f8b6d1 [ci skip] Translation update 2021-07-21 00:11:58 +00:00
Aaron Bach
bf4ca2d68d
Modify AirVisual states to be translatable (#53133)
* Modify AirVisual states to be translatable

* Make constant names consistent
2021-07-19 18:01:36 +02:00
GitHub Action
531733da7b [ci skip] Translation update 2021-07-19 00:09:50 +00:00
GitHub Action
b347226820 [ci skip] Translation update 2021-07-10 00:09:24 +00:00
GitHub Action
f7e4db512f [ci skip] Translation update 2021-07-09 00:09:30 +00:00
GitHub Action
0c5ce9cac2 [ci skip] Translation update 2021-07-07 00:11:57 +00:00
Aaron Bach
5ce4de7bbb
Migrate AirVisual air_quality platform to sensor platform (#52349)
* Migrate AirVisual air_quality platform sensors

* Remove redundancy

* Cleanup

* Properly set available

* Unwind config_entry -> entry name change

* More unwinding

* Rename

* Update homeassistant/components/airvisual/sensor.py

Co-authored-by: Franck Nijhof <git@frenck.dev>

* Code review

* Linting

Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-04 12:16:06 -06:00
Aaron Bach
3902f0bdd4
Speed up lookup of AirVisual pollutant labels, levels, and units (#52327)
* Speed up lookup of AirVisual pollutant levels, labels, and units

* Mispellings
2021-06-30 11:33:50 +02:00
Franck Nijhof
4007430d72
Small entity attribute cleanup in AirVisual (#51601)
* Small entity attribute cleanup in AirVisual

* Fix icon in sensor update
2021-06-08 08:29:04 +02:00
GitHub Action
330f713e43 [ci skip] Translation update 2021-06-08 00:21:17 +00:00
GitHub Action
7615af35d8 [ci skip] Translation update 2021-06-07 00:18:16 +00:00
GitHub Action
c81df50191 [ci skip] Translation update 2021-06-06 00:19:43 +00:00
HomeAssistant Azure
7df47664e8 [ci skip] Translation update 2021-05-12 00:04:03 +00:00
Franck Nijhof
d4d0b93d3b
Clean up connection classes in integrations A-C (#49888) 2021-04-30 21:01:52 -10:00
Aaron Bach
d749015b96
Bump pyairvisual to 5.0.8 (#49823) 2021-04-28 21:34:19 +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
32dfaccf1f [ci skip] Translation update 2021-04-24 00:03:34 +00: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
HomeAssistant Azure
c7d19d5115 [ci skip] Translation update 2021-04-12 00:04:19 +00:00
J. Nick Koston
4cd7f9bd8b
Raise ConfigEntryAuthFailed during setup or coordinator update to start reauth (#48962) 2021-04-09 19:41:29 -10:00
jugla
76d9c62900
Evaluate AirVisual interval on reboot (#48392)
* Reevaluate interval on reboot (and periodically)

* AirVisual update interval periodically

* AirVisual : update periodically interval request

* AirVisual : update sever request interval periodically

* AirVisual : periodically update interval for server requests

* AirVisual : periodic update for server interval

* Airvisual : periodic update of server interval

* AirVisual : periodic update of server interval

* AirVisual : periodic update of interval request

* Periodic interval update of server request

* AirVisual : periodic update of interval request

* Reassess interval request on periodic event

* ReAssess interval between 2 requests during update

* ReAssess interval between 2 requests periodically

* Reassess interval of server requests periodically

* Reassess the interval between 2 server requests

* Reassess interval between 2 server requests

* Reassess server requests interval periodically

* Assess interval request after inserting instance
2021-03-30 11:03:35 -06: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