Commit graph

18 commits

Author SHA1 Message Date
Franck Nijhof
284fc94d31
Add initial label registry foundation
Add label support to device registry

Add label support to entity registry

Add support for calling services by labels

Rebase fixes, test fixes, linter fixes, catch up

Ran black

Update test snapshosts

Update snapshots for renault

Register API

Fix entity registry tests

Set up registry in bootstrap

Add labels to partial dict

Add support to Syrupy for test snapshotting

Adjust more tests

Adjust version in comment

Update snapshots

Add template methods
2024-02-01 23:35:13 +01:00
Robert Groot
2df9e5e7b9
Changed setup of EnergyZero services (#106224)
* Changed setup of energyzero services

* PR review updates

* Dict access instead of get

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Added tests for unloaded state

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-01-02 13:24:17 +01:00
Robert Groot
d5c7ae5b34
Add Energyzero get_gas_prices and get_energy_price services (#101374)
Co-authored-by: Klaas Schoute <klaas_schoute@hotmail.com>
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-12-21 15:39:51 +01:00
Erik Montnemery
6908497c3d
Add minor version to config entries (#105479) 2023-12-12 08:44:35 +01:00
Erik Montnemery
1621310ba7
Add serial_number to device registry entries (#102334)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-10-22 15:14:44 +02:00
J. Nick Koston
433c022687
Save previous unique id in entity registry when it changes (#102093) 2023-10-16 21:26:19 -10:00
Franck Nijhof
3be3593ffa
Revert "Add Energyzero get_prices service (#100499)" (#101332)
This reverts commit d518cf13e5.
2023-10-03 22:00:30 -04:00
Robert Groot
d518cf13e5
Add Energyzero get_prices service (#100499) 2023-10-03 16:21:23 +02:00
Klaas Schoute
d8f0c090cf
Energyzero - Add sensor entity to pick best hours (#98916)
* Add entity to pick best hours

* Add entity also to diagnostics

* Remove string translation that doesn't exists

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-08-23 23:02:19 +02:00
Joost Lekkerkerker
a44f3e62e3
Add entity translations to Energyzero (#95293) 2023-06-26 23:20:34 +02:00
epenet
7b3a932cd9
Remove incorrect constant usage in test (#91198) 2023-04-11 10:00:17 +02:00
epenet
a0f725dfcb
Add type hints to tests (#89497) 2023-03-10 12:06:50 +01:00
Franck Nijhof
037b3ebd26
Refactor EnergyZero tests (#88458) 2023-02-19 21:11:05 -05:00
epenet
a79be493e5
Adjust hass_client type hint in integration tests (#86954)
* Adjust hass_client type hint in integration tests

* Adjust hass_client_no_auth

* Fix rebase
2023-02-02 16:29:57 -05:00
Michael
2850583085
Replace the usage of unit constants by enumerations in Tests [a-e] (#85932) 2023-01-15 14:44:01 +01:00
epenet
a2f6299fc1
Remove invalid device class in energyzero (#85690)
* Remove invalid device class in energyzero

* Adjust tests
2023-01-11 20:49:14 +01:00
Klaas Schoute
f620d2bb2f
Add diagnostics to EnergyZero integration (#85164) 2023-01-06 09:13:11 +01:00
Klaas Schoute
7d54620f34
Add EnergyZero integration (#83886) 2023-01-03 22:28:16 +01:00