G Johansson
9fcf757021
Fix translations in landisgyr ( #129831 )
2024-11-04 19:35:35 +01:00
epenet
0bc572787a
Add check for valid error code in translation checks in flows ( #128445 )
2024-10-16 19:03:24 +02:00
epenet
adf20b60dc
Rename variable in landisgyr_heat_meter tests ( #122995 )
2024-08-01 13:43:09 +02:00
Marc Mueller
921430d497
Import Generator from collections.abc (3) ( #120916 )
2024-07-01 12:09:11 +02:00
Marc Mueller
33ed4fd862
Import Generator from typing_extensions (3) ( #118990 )
2024-06-06 17:28:59 +02:00
Joost Lekkerkerker
5d500cb74b
Use is in enum comparison in config flow tests K-O ( #114672 )
2024-04-02 11:21:42 -10:00
Erik Montnemery
426f73b1f4
Add State.last_reported ( #113511 )
...
* Add State.last_reported
* Update tests
* Update test snapshots
* Call state_reported listeners when firing state_changed event
* Add tests
2024-03-20 21:05:07 +01:00
Marc Mueller
32f3f46542
Add empty line after module docstring (2) [tests.components] ( #112737 )
2024-03-08 19:16:21 +01:00
Marc Mueller
1722e23df8
Add empty line after module docstring [tests l-p] ( #112710 )
2024-03-08 14:55:15 +01:00
Jan Bouwhuis
c9306049b3
Correct SerialException import in dsmr, firmata, landysgyr_heat_meater and rfxtrx integrations ( #104889 )
...
* Fix SerialException import in dsmr integration
* Fix imports firmata, landysgyr_heat_meter, rfxtrx
2023-12-02 19:30:04 +01:00
Jan-Philipp Benecke
0eafc8f2cd
Update k-l* tests to use entity & device registry fixtures ( #103929 )
2023-11-13 20:02:33 +01:00
Erik Montnemery
cb8842b1fb
Use freezegun in landisgyr_heat_meter tests ( #99037 )
2023-08-25 09:02:47 -05:00
Vincent Knoop Pathuis
03caf63ec2
Remove getattr for Landis+Gyr Heat Meter ( #90637 )
...
* Remove getattr and update tests
* Apply suggestion for test from PR review
* Make constants capitalized
2023-04-04 22:01:35 +02:00
Vincent Knoop Pathuis
a7040a0487
Add Landis+Gyr MWh-readings from ultraheat-api ( #89937 )
...
* Use mwh values from ultraheat api when available
Remove manifest cleanup from PR
Remove added device class from this PR
Restore entity registry fixture
Replace filter by attr_entity_registry_enabled_default
* Catchup with #90182 and #90183
* Add comment explaining disabling some entities
* Add parameterisation of test cases
2023-03-30 09:07:47 +02:00
Vincent Knoop Pathuis
cb578c71e0
Add Landis+Gyr missing device class ( #90182 )
...
Add missing device class for heat_previous_year_gj
2023-03-23 17:21:21 +01:00
Vincent Knoop Pathuis
568a731e2d
Use snapshot test for Landis+Gyr ( #90126 )
...
Initial commit for snapshot test
2023-03-23 10:30:31 +01:00
Vincent Knoop Pathuis
6ad9f420ab
Add Landis+Gyr poll on restart ( #89644 )
2023-03-18 08:50:50 -11:00
Vincent Knoop Pathuis
273d794f7a
Add device class for Landis+Gyr GJ energy sensor ( #89522 )
2023-03-16 11:12:05 +01:00
epenet
f674559a71
Add missing mock in landisgyr config flow tests ( #89513 )
2023-03-10 10:04:45 -05:00
Vincent Knoop Pathuis
75bca76e68
Landis+Gyr move coordinator to own file ( #89433 )
...
* Move coordinator to own file and add test cases
* Apply typing improvements from review
* Remove testcase for exception during setup
* Simplify unittest for failing serial connection
* Readd checks in serial connection test after review
2023-03-10 15:57:35 +01:00
epenet
d65dff3f9e
Adjust entity registry access in tests (2) ( #88960 )
2023-03-01 16:23:36 +01:00
epenet
ea29cdfe83
Add type hints to integration tests (part 12) ( #87997 )
2023-02-13 13:03:51 +01:00
Erik Montnemery
cc564026fa
Move EntityCategory to homeassistant.const ( #87792 )
...
* Move EntityCategory to homeassistant.const
* Fix more imports
2023-02-09 20:15:37 +01:00
Michael
e35ab75c0b
Replace the usage of unit constants by enumerations in Tests [h-l] ( #85934 )
2023-01-15 14:52:55 +01:00
Vincent Knoop Pathuis
0cd9fe3288
Landis+Gyr Heat Meter code improvements ( #81184 )
2022-11-09 13:45:28 +01:00
Vincent Knoop Pathuis
9ee81fdd77
Landis+Gyr Heat Meter: add heat previous year GJ as diagnostic ( #78690 )
...
Add heat previous year GJ as diagnostic
2022-09-28 08:28:31 +02:00
epenet
c88a874063
Cleanup FlowResultType in tests ( #78810 )
2022-09-21 09:17:20 +02:00
Vincent Knoop Pathuis
7a497c1e6e
Add Landis+Gyr Heat Meter integration ( #73363 )
...
* Add Landis+Gyr Heat Meter integration
* Add contant for better sensor config
* Add test for init
* Refactor some of the PR suggestions in config_flow
* Apply small fix
* Correct total_increasing to total
* Add test for restore state
* Add MWh entity that can be added as gas on the energy dashoard
* Remove GJ as unit
* Round MWh to 5 iso 3 digits
* Update homeassistant/components/landisgyr_heat_meter/const.py
* Update CODEOWNERS
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-08-18 16:40:04 +02:00