1
mirror of https://github.com/home-assistant/core synced 2024-09-03 08:14:07 +02:00
Commit Graph

76 Commits

Author SHA1 Message Date
Marc Mueller
2691441700
Fix co2signal get_data typing (#70881) 2022-04-27 14:28:20 +02:00
epenet
ecd43f391f
Prettify json (manifest.json) (#68886) 2022-03-30 10:56:37 +02:00
Marc Mueller
830cc278d3
Improve CoordinatorEntity typing (#68441) 2022-03-21 10:22:30 +01:00
GitHub Action
c64b4d997b [ci skip] Translation update 2022-03-13 00:18:58 +00:00
Marc Mueller
41df798375
Bump mypy to 0.940 (#68007) 2022-03-11 15:57:38 -08:00
Franck Nijhof
133add6100
Fix CO2Signal having unknown data (#67453) 2022-03-01 16:06:36 -08:00
GitHub Action
102ae9f0e3 [ci skip] Translation update 2022-02-22 00:17:23 +00:00
GitHub Action
c4cc6ca0ba [ci skip] Translation update 2022-02-20 00:20:09 +00:00
GitHub Action
256ad084c5 [ci skip] Translation update 2022-02-03 00:14:18 +00:00
GitHub Action
ca7d4234e1 [ci skip] Translation update 2022-01-31 00:14:28 +00:00
GitHub Action
77ef86faee [ci skip] Translation update 2022-01-30 00:14:21 +00:00
J. Nick Koston
5b755b74fb
Add loggers to integration manifest.json (#65083) 2022-01-28 13:37:53 -08:00
GitHub Action
dd4e5bb9c5 [ci skip] Translation update 2022-01-27 00:14:02 +00:00
Paulus Schoutsen
a827d91e3a
Add CO2signal diagnostics (#64646) 2022-01-21 20:20:59 +01:00
epenet
84221f656a
Add sensor setup type hints [c-d] (#63318)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 19:16:42 +01:00
Franck Nijhof
ff062bd052
Cleanup stale setup from CO2Signal (#62395) 2021-12-20 16:07:13 +01:00
Robert Hillis
cabcb52fb3
Remove deprecated yaml config from co2signal (#62343) 2021-12-20 13:49:15 +01:00
epenet
dff29639bd
Use new SensorStateClass enum in co2signal (#61333)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-09 09:22:02 +01:00
Paulus Schoutsen
2e65923205
Fix CO2signal error handling (#61311) 2021-12-09 07:50:30 +01:00
Marc Mueller
f57d42a9e8
Use platform enum (1) [A-D] (#60908)
* Use platform enum (1) [A-D]

* Fix imports

* Fix tests

* Use Platform even in tests
2021-12-03 08:51:30 -08:00
GitHub Action
9e606abb0c [ci skip] Translation update 2021-11-23 00:13:54 +00:00
Ville Skyttä
053c456199
Change device entry type to an StrEnum (#59940)
Co-authored-by: Ville Skyttä <ville.skytta@iki.fi>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-11-22 18:14:15 +01:00
GitHub Action
9a85c8d894 [ci skip] Translation update 2021-11-18 00:12:48 +00:00
GitHub Action
b82fac1a73 [ci skip] Translation update 2021-11-17 00:13:20 +00:00
GitHub Action
fc539da42b [ci skip] Translation update 2021-11-14 00:12:48 +00:00
GitHub Action
f00effaba2 [ci skip] Translation update 2021-11-13 00:11:56 +00:00
GitHub Action
3f2b1fa952 [ci skip] Translation update 2021-11-12 00:12:35 +00:00
GitHub Action
e35b83081e [ci skip] Translation update 2021-11-08 00:12:31 +00:00
GitHub Action
332a571bb4 [ci skip] Translation update 2021-11-07 00:12:38 +00:00
epenet
f6ffae9e10
Use DeviceInfo on components with configuration_url (#58223)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-10-22 17:40:13 +02:00
GitHub Action
f9d985553c [ci skip] Translation update 2021-10-22 00:14:10 +00:00
GitHub Action
34fee4ba60 [ci skip] Translation update 2021-10-16 00:12:06 +00:00
Paulus Schoutsen
9c7dc5865c
Add url to CO2signal (#57703) 2021-10-14 14:11:57 -07:00
Robert Hillis
488a636aec
Clean up unused loggers (#57662) 2021-10-14 10:03:38 -07:00
GitHub Action
f42c2f5170 [ci skip] Translation update 2021-10-02 12:59:05 +00:00
GitHub Action
19dcb19d07 [ci skip] Translation update 2021-09-04 00:13:17 +00:00
GitHub Action
65d14909ee [ci skip] Translation update 2021-08-27 00:14:42 +00:00
GitHub Action
1661de5c19 [ci skip] Translation update 2021-08-17 00:12:45 +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
Paulus Schoutsen
934662cd54
Handle CO2Signal response value being None (#54377) 2021-08-10 08:17:47 +02:00
GitHub Action
af565ea6bd [ci skip] Translation update 2021-08-08 00:11:15 +00: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
Paulus Schoutsen
9c33818392
Improve CO2Signal error handling (#53602)
* Improve CO2Signal error handling

* Update homeassistant/components/co2signal/sensor.py

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

Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-28 08:43:24 +02:00
Paulus Schoutsen
962ddf664c
Add country code to co2signal state attributes (#53512) 2021-07-26 11:10:39 -07:00
Marc Mueller
46c3495ae0
Update pylint to 2.9.5 (#53496) 2021-07-26 16:17:15 +02:00
GitHub Action
c1b18f4867 [ci skip] Translation update 2021-07-25 00:12:45 +00:00
GitHub Action
7fa8586b17 [ci skip] Translation update 2021-07-24 00:08:57 +00:00