core/tests/components
TimL 98a007cb2f
New Integration: SMLIGHT SLZB-06 Adapters Integration (#118675)
* Initial SMLIGHT integration

Signed-off-by: Tim Lunn <tl@smlight.tech>

* Generated content

Signed-off-by: Tim Lunn <tl@smlight.tech>

* Cleanup LOGGING

* Use runtime data

* Call super first

* coordinator instance attributes

* Move coordinatorEntity and attr to base class

* cleanup sensors

* update strings to use sentence case

* Improve reauth flow on incorrect credentials

* Use fixture for config_flow tests and test to completion

* Split uptime hndling into a new uptime sensor entity

* Drop server side events and internet callback

will bring this back with binary sensor Platform

* consolidate coordinator setup

* entity always include connections

* get_hostname tweak

* Add tests for init, coordinator and sensor

* Use custom type SmConfigEntry

* update sensor snapshot

* Drop reauth flow for later PR

* Use _async_setup for initial setup

* drop internet to be set later

* sensor fixes

* config flow re

* typing fixes

* Bump pysmlight dependency to 0.0.12

* dont trigger invalid auth message when first loading auth step

* Merge uptime sensors back into main sensor class

* clarify uptime handling

* Apply suggestions from code review

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* address review comments

* pass host as parameter to the dataCoordinator

* drop uptime sensors for a later PR

* update sensor test snapshot

* move coordinator unique_id to _async_setup

* fix CI

* Apply suggestions from code review

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* drop invalid_auth test tag

* use snapshot_platform, update fixtures

* Finish all tests with abort or create entry

* drop coordinator tests and remove hostname support

* add test for update failure on connection error

* use freezer for update_failed test

* fix pysmlight imports

---------

Signed-off-by: Tim Lunn <tl@smlight.tech>
Co-authored-by: Tim Lunn <tim@feathertop.org>
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-08-20 10:44:06 +02:00
..
2024-08-12 13:28:09 +02:00
2024-07-04 21:27:56 +02:00
2024-08-12 13:28:09 +02:00
2024-08-12 13:28:09 +02:00
2024-06-28 10:46:02 +02:00
2024-06-08 17:59:08 +02:00
2024-06-08 17:59:08 +02:00
2024-08-10 12:28:48 +02:00
2024-07-07 16:34:05 +02:00
2024-08-12 13:28:09 +02:00
2024-07-24 21:40:05 +02:00
2024-06-06 17:24:48 +02:00
2024-08-15 18:21:07 +02:00
2024-06-28 10:46:02 +02:00
2024-08-16 17:46:37 +02:00
2024-08-02 12:17:51 +02:00
2024-08-12 13:28:09 +02:00
2024-07-10 21:53:11 +02:00
2024-08-16 16:54:20 +02:00
2024-06-08 17:59:08 +02:00
2024-08-12 13:28:09 +02:00
2024-08-12 13:28:09 +02:00
2024-08-12 13:28:09 +02:00
2024-05-24 10:36:59 +02:00
2024-08-20 10:33:16 +02:00
2024-06-08 17:59:08 +02:00
2024-08-12 13:28:09 +02:00
2024-08-12 13:28:09 +02:00
2024-06-08 17:59:08 +02:00
2024-08-19 11:00:33 +02:00
2024-08-08 08:59:30 +02:00
2024-06-30 20:38:35 +02:00
2024-08-12 13:28:09 +02:00
2024-07-16 22:36:31 +02:00
2024-06-08 17:59:08 +02:00
2024-08-12 13:28:09 +02:00
2024-07-22 13:09:08 +02:00
2024-06-08 17:59:08 +02:00
2024-07-24 20:37:38 +02:00
2024-08-15 10:03:03 +02:00