Commit graph

30 commits

Author SHA1 Message Date
Sebastian Heiden
a260c11d4e
Fix LaMetric Config Flow for SKY ()
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-06-01 18:04:00 +02:00
Franck Nijhof
bfadc8453d
Clean up import/migration repair in LaMetric () 2023-03-05 02:41:31 +01:00
Franck Nijhof
c4f92f5ad4
Cleanup use of test fixtures in LaMetric tests ()
Cleanup use of test fixture in LaMetric tests
2023-02-19 21:15:07 -05:00
Franck Nijhof
ed79265843
Enable Ruff PT006 ()
* Enable Ruff PT006

* Adjust existing cases

* Fix tests

* Remove unneeded parentheses
2023-02-15 14:09:50 +01:00
Erik Montnemery
cc564026fa
Move EntityCategory to homeassistant.const ()
* Move EntityCategory to homeassistant.const

* Fix more imports
2023-02-09 20:15:37 +01:00
epenet
a79be493e5
Adjust hass_client type hint in integration tests ()
* Adjust hass_client type hint in integration tests

* Adjust hass_client_no_auth

* Fix rebase
2023-02-02 16:29:57 -05:00
epenet
30bf0634fe
Add per-file-ignore to pylint () 2023-01-22 17:26:24 +01:00
Franck Nijhof
79b52a2b41
Stricter pylint message control () 2023-01-20 13:47:55 +01:00
Franck Nijhof
318871f8a9
Code styling tweaks to the LaMetric integration () 2023-01-09 01:36:54 +02:00
Franck Nijhof
bcf32f8331
Mark required fields in FlowResult typedict ()
* Mark required fields in FlowResult typedict

* Remove unneeded asserts from tests
2022-12-30 12:01:45 +01:00
Franck Nijhof
6ea6782d23
Add buttons to dismiss notifications in LaMetric () 2022-10-19 17:46:54 +02:00
Franck Nijhof
e3919babb2
Add chart service to LaMetric () 2022-10-18 19:36:19 -06:00
Franck Nijhof
326a1b21ca
Add message service to LaMetric () 2022-10-17 16:14:20 +02:00
Franck Nijhof
7bd9ce72f7
Add reauth support to LaMetric ()
* Add reauth support to LaMetric

* Adjust docblock
2022-10-14 23:54:14 +02:00
Franck Nijhof
b28ad1282a
Use percentage constant as unit in LaMetric brightness () 2022-10-12 11:56:18 +02:00
Franck Nijhof
1191f4b61d
Add error handling to LaMetric switch platform () 2022-10-12 11:35:09 +02:00
Franck Nijhof
9396169060
Add error handling to LaMetric select platform () 2022-10-12 11:34:08 +02:00
Franck Nijhof
77571c8a84
Add error handling to LaMetric number platform () 2022-10-12 11:33:09 +02:00
Franck Nijhof
d03e0380bb
Add brightness controls to LaMetric () 2022-10-12 10:59:15 +02:00
Franck Nijhof
a18f8d2ff3
Add error handling to LaMetric button platform () 2022-10-11 23:50:07 +02:00
Franck Nijhof
e3a3f93441
Add full test coverage to LaMetric () 2022-10-11 22:54:49 +02:00
Franck Nijhof
575501d26a
Add select platform to LaMetric () 2022-10-10 09:28:36 +02:00
Franck Nijhof
5a0609ae8b
Add sensor platform to LaMetric () 2022-10-09 21:28:35 +02:00
Franck Nijhof
0b9d029350
Add switch platform to LaMetric ()
* Add switch platform to LaMetric

* Little naming tweak
2022-10-07 15:03:58 +02:00
Franck Nijhof
90d39a414c
Add LaMetric number tests () 2022-10-07 08:11:10 +02:00
Franck Nijhof
633ffad443
Add diagnostics to LaMetric ()
* Add diagnostics to LaMetric

* Add return value typing

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-10-07 08:07:59 +02:00
Franck Nijhof
166160e2b5
Add LaMetric button tests () 2022-09-21 13:57:40 +02:00
Franck Nijhof
36eda3801d
Add LaMetric integration init tests () 2022-09-19 11:11:05 +02:00
Franck Nijhof
564150169b
Update LaMetric config entry using DHCP discovery data ()
* Update LaMetric config entry using DHCP discovery data

* Update translations
2022-09-16 08:35:12 +02:00
Franck Nijhof
71cdc1645b
Refactor LaMetric integration ()
* Refactor LaMetric integration

* Use async_setup

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

* use async_get_service

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

* Update tests/components/lametric/conftest.py

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

* Update tests/components/lametric/conftest.py

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

* Pass hassconfig

* Remove try/catch

* Fix passing hassconfig

* Use menu

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-08-18 00:49:11 +02:00