Commit Graph

109 Commits (694cec34596f76a372d041d4a8ecb50849c5fc43)

Author SHA1 Message Date
GitHub Action 1f3e5fb4fc [ci skip] Translation update 2022-12-07 00:24:08 +00:00
GitHub Action b65d8cc1b3 [ci skip] Translation update 2022-11-28 00:23:09 +00:00
GitHub Action f3b3193f7a [ci skip] Translation update 2022-11-25 00:24:19 +00:00
GitHub Action eaf6d43508 [ci skip] Translation update 2022-11-23 00:26:26 +00:00
GitHub Action 0be2a3f182 [ci skip] Translation update 2022-11-22 00:26:32 +00:00
Aidan Timson 8044b9587a
Add integration type to System Bridge () 2022-10-31 20:41:12 +01:00
GitHub Action 388328adba [ci skip] Translation update 2022-10-17 00:36:39 +00:00
GitHub Action 230fe4453f [ci skip] Translation update 2022-10-12 00:40:30 +00:00
epenet e948f49818
Use REVOLUTIONS_PER_MINUTE constant in system_bridge () 2022-10-11 14:56:55 +02:00
GitHub Action 7eb101b0c7 [ci skip] Translation update 2022-10-04 00:37:13 +00:00
GitHub Action 23faf8024e [ci skip] Translation update 2022-09-14 00:28:24 +00:00
epenet c687273180
Import media source constants from root () 2022-09-12 23:45:19 +02:00
epenet 5c8e8e4860
Use new media player enums () 2022-09-12 20:06:27 +02:00
GitHub Action ccef03f1d4 [ci skip] Translation update 2022-09-02 00:25:46 +00:00
Aidan Timson b5f9f08aa8
Use UUID identifier in System Bridge () 2022-08-26 11:02:10 +02:00
GitHub Action eef7bdb44b [ci skip] Translation update 2022-08-22 00:27:12 +00:00
Aidan Timson a076d3faa0
Address late review of system bridge media source ()
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-08-20 00:27:33 +02:00
Aidan Timson 3cb062dc13
Add System Bridge Media Source () 2022-08-16 09:48:01 -04:00
Aidan Timson 64898af58e
Update systembridgeconnector to 3.4.4 ()
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-08-15 15:00:29 +02:00
GitHub Action 7c81f790a7 [ci skip] Translation update 2022-08-12 00:23:47 +00:00
GitHub Action 32a2999b85 [ci skip] Translation update 2022-08-06 00:24:46 +00:00
GitHub Action 87797c8b66 [ci skip] Translation update 2022-07-21 00:26:18 +00:00
GitHub Action a3fd5acf3f [ci skip] Translation update 2022-07-13 00:27:34 +00:00
Aidan Timson e74f7d13ab
Update systembridgeconnector to 3.3.2 () 2022-07-09 19:55:33 +02:00
J. Nick Koston cd03c49fc2
Wait for config entry platform forwards () 2022-07-09 17:27:42 +02:00
Aidan Timson 46b4be5b41
Add boot time sensor to System Bridge ()
* Add boot time to System Bridge

* Update homeassistant/components/system_bridge/sensor.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

* Add missing import

* Update homeassistant/components/system_bridge/sensor.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-06-29 08:24:50 -04:00
GitHub Action 33c263d09b [ci skip] Translation update 2022-06-23 00:20:13 +00:00
Aidan Timson 297072c1f6 Fix initial data load for System Bridge ()
* Update package to 3.1.5

* Fix initial loading of data

* Remove additional log and make method
2022-06-11 22:25:07 +02:00
Joakim Plate 8910d265d6
Keep track of a context for each listener ()
* Remove async_remove_listener

This avoids the ambuigity as to what happens if same callback is added multiple times.

* Keep track of a context for each listener

This allow a update coordinator to adapt what data to request on update from the backing service based on which entities are enabled.

* Clone list before calling callbacks

The callbacks can end up unregistering and modifying the dict while iterating.

* Only yield actual values

* Add a test for update context

* Factor out iteration of _listeners to helper

* Verify context is passed to coordinator

* Switch to Any as type instead of object

* Remove function which use was dropped earliers

The use was removed in 8bee25c938
2022-06-03 13:55:57 +02:00
epenet fc8727454a
Use Mapping for async_step_reauth (p-s) () 2022-06-02 14:28:14 +02:00
Aidan Timson 2ba45a9f99
System Bridge 3.x.x ()
* Change to new package and tcp

* Rework integration pt1

* Show by default

* Handle auth error

* Use const

* New version avaliable (to be replaced in future by update entity)

* Remove visible

* Version latest

* Filesystem space use

* Dev package

* Fix sensor

* Add services

* Update package

* Add temperature and voltage

* GPU

* Bump package version

* Update config flow

* Add displays

* Fix displays connected

* Round to whole number

* GPU fan speed in RPM

* Handle disconnections

* Update package

* Fix

* Update tests

* Handle more errors

* Check submodule and return missing uuid in test

* Handle auth error on config flow

* Fix test

* Bump package version

* Handle key errors

* Update package to release version

* Client session in config flow

* Log

* Increase timeout and use similar logic in config flow to init

* 30 secs

* Add test for timeout error

* Cleanup logs

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

* Update tests/components/system_bridge/test_config_flow.py

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

* uuid raise specific error

* Type

* Lambda to functions for complex logic

* Unknown error test

* Bump package to 3.0.5

* Bump package to 3.0.6

* Use typings from package and pydantic

* Use dict()

* Use data listener function and map to models

* Use passed module handler

* Use lists from models

* Update to 3.1.0

* Update coordinator to use passed module

* Improve coordinator

* Add debug

* Bump package and avaliable -> available

* Add version check

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-06-01 23:54:22 +02:00
GitHub Action ceb8bb4745 [ci skip] Translation update 2022-05-21 00:22:49 +00:00
GitHub Action 37f81b261d [ci skip] Translation update 2022-05-16 00:24:28 +00:00
GitHub Action 348016dbbf [ci skip] Translation update 2022-04-29 00:22:21 +00:00
Marc Mueller 539a469a8b
Update coordinator typing (5) [r-s] () 2022-03-21 15:24:05 +01:00
GitHub Action c64b4d997b [ci skip] Translation update 2022-03-13 00:18:58 +00:00
GitHub Action 102ae9f0e3 [ci skip] Translation update 2022-02-22 00:17:23 +00:00
GitHub Action c4cc6ca0ba [ci skip] Translation update 2022-02-20 00:20:09 +00:00
GitHub Action 208671418e [ci skip] Translation update 2022-02-16 00:14:09 +00:00
GitHub Action ad0cb4831e [ci skip] Translation update 2022-02-14 00:15:30 +00:00
Aidan Timson acb7e24852
Reduce System Bridge load on server () 2022-02-05 22:56:36 +01:00
Franck Nijhof fa09cf663e
Update black to 22.1.0 () 2022-02-05 14:19:37 +01:00
GitHub Action ca7d4234e1 [ci skip] Translation update 2022-01-31 00:14:28 +00:00
GitHub Action 77ef86faee [ci skip] Translation update 2022-01-30 00:14:21 +00:00
J. Nick Koston 5b755b74fb
Add loggers to integration manifest.json () 2022-01-28 13:37:53 -08:00
GitHub Action 47d3fb1dec [ci skip] Translation update 2022-01-23 00:13:53 +00:00
GitHub Action 9098c71cd4 [ci skip] Translation update 2022-01-22 00:13:08 +00:00
epenet 0700c73bd0
Add setup type hints [s-t] ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-07 16:29:16 +01:00
epenet 92ace6c2e8
Ensure service calls are typed [s-u] ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-28 14:23:42 +01:00
GitHub Action cc92aa557a [ci skip] Translation update 2021-12-26 00:15:41 +00:00