Marc Mueller
6bb2ab519f
Use runtime_data for co2signal ( #116612 )
2024-05-02 14:04:21 +02:00
Joost Lekkerkerker
6bb4e7d62c
Bump ruff to 0.3.4 ( #112690 )
...
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-26 00:02:16 +01:00
Marc Mueller
ff3a801936
Add empty line after module docstring [a-d] ( #112697 )
2024-03-08 14:51:32 +01:00
Jan-Philipp Benecke
4d5a511001
Add icon translations to co2signal ( #108611 )
2024-01-21 21:23:11 +01:00
Erik Montnemery
0c2485bc03
Freeze integration entity descriptions ( #105984 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-18 16:28:13 -10:00
Jan-Philipp Benecke
194104f5f8
Remove CO2Signal entity description required fields mixin ( #104031 )
2023-11-15 13:14:12 +01:00
Jan-Philipp Benecke
685537e475
Exchange co2signal package with aioelectricitymaps ( #101955 )
2023-11-13 13:48:33 -06:00
Jan-Philipp Benecke
dc2afb71ae
Move co2signal coordinator to its own file ( #100541 )
...
* Move co2signal coordinator to its own file
* Fix import
2023-09-18 11:56:28 +02:00
Erik Montnemery
045c327928
Move DeviceInfo from entity to device registry ( #98149 )
...
* Move DeviceInfo from entity to device registry
* Update integrations
2023-08-10 22:04:26 -04:00
Mads Nedergaard
025ed3868d
Rename CO2Signal to Electricity Maps ( #96252 )
...
* Changes names and links
* Changes link to documentation
* Updates generated integration name
2023-07-13 11:57:31 -04:00
Michael
03e9cb233f
Add entity name translations to CO2signal ( #90877 )
2023-04-06 10:39:49 +02:00
Franck Nijhof
22eba6ce1b
Remove attribution from extra state attributes ( #76172 )
2022-08-04 08:13:20 +02:00
Franck Nijhof
4f56028491
Fix unit of measurement usage in COSignal ( #75856 )
2022-07-28 12:39:10 +02:00
Franck Nijhof
1cf8b76124
Migrate CO2 Signal to new entity naming style ( #74696 )
2022-07-09 19:11:14 +02:00
Marc Mueller
830cc278d3
Improve `CoordinatorEntity` typing ( #68441 )
2022-03-21 10:22:30 +01: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
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
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
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
Paulus Schoutsen
9c7dc5865c
Add url to CO2signal ( #57703 )
2021-10-14 14:11:57 -07: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
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
Paulus Schoutsen
c49decb7f0
Convert CO2Signal to data update coordinator and add fossil fuel percentage ( #53370 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Daniel Hjelseth Høyer <mail@dahoiv.net>
2021-07-23 14:35:11 -07:00
Daniel Hjelseth Høyer
f0b28c90bf
Co2signal configflow ( #53193 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-07-19 21:30:00 -07:00
Daniel Hjelseth Høyer
f152369944
Use entity class attributes for Co2signal ( #53032 )
2021-07-14 21:47:24 -07:00
Daniel Hjelseth Høyer
2740e56fd4
Co2signal, set SCAN_INTERVAL ( #53023 )
...
* limit co2signal, wip
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
* limit co2signal
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
* limit co2signal
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-07-14 19:58:02 +02:00
Franck Nijhof
258b388f41
Collection of changing entity properties to class attributes ( #51248 )
...
* Collection of changing entity properties to class attributes
* Apply suggestions from code review
Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-05-31 10:50:11 +02:00
Erik Montnemery
e0cd7072d6
Migrate integrations a-c to extend SensorEntity ( #48210 )
2021-03-22 12:37:16 +01:00
Erik Montnemery
6c084ae6ce
Update integrations a-e to override extra_state_attributes() ( #47756 )
2021-03-11 16:51:03 +01:00
Bram Kragten
9ecaa10e51
Adjust icons for MDI bump ( #37730 )
2020-07-14 22:17:14 +02:00
springstan
02c9e47db8
Use ENERGY_KILO_WATT_HOUR constant ( #33962 )
2020-04-10 20:21:29 +02:00
springstan
9801810552
Use f-strings in integrations starting with "B"-"E" ( #32121 )
...
* Use f-strings in integrations starting with B
* Use f-strings in integrations starting with C
* Use f-strings in integrations starting with D
* Use f-strings in integrations starting with E
* Fix pylint errors
* Fix pylint errors v2
* Fix tests
* Fix tests v2
2020-02-24 08:47:52 -08:00
bouni
79b391c673
moved imports to top level ( #27640 )
2019-10-14 15:58:15 +02:00
Franck Nijhof
6a24d893c8
Use literal string interpolation in integrations B-D (f-strings) ( #26378 )
2019-09-03 17:09:59 +02:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
cgtobi
2c07bfb9e0
Remove dependencies and requirements ( #23024 )
...
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit fe7171b4cd
.
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit 391355ee2c
.
* Remove dependencies and requirements
* Fix flake8 complaints
* Fix more flake8 complaints
* Revert non-component removals
2019-04-12 10:13:30 -07:00
Tobias Sauerwein
048b100eea
Clean up docstrings ( #22679 )
...
* Clean up docstrings
* Fix long lines
* Fix more docstrings
* Fix more docstrings
* Fix more docstrings
2019-04-03 17:40:03 +02:00
Paulus Schoutsen
f5076188ef
Consolidate all platforms that have no tests ( #22096 )
...
* Consolidate
* Fix tests
* Update imports
* Fix import
* Use importlib because integration and package share name
* Fix more tests
* Update .coveragerc and CODEOWNERS
2019-03-16 20:44:05 -07:00