Commit graph

129 commits

Author SHA1 Message Date
Aidan Timson
61d260e5fe
Add CPU Power to System Bridge (#80781)
* Add CPU Power to System Bridge

* Rename

* Update homeassistant/components/system_bridge/sensor.py

Co-authored-by: Aarni Koskela <akx@iki.fi>

* Fix unit

* Add suggested_display_precision=2

---------

Co-authored-by: Aarni Koskela <akx@iki.fi>
2023-06-14 21:47:50 -04:00
Erik Montnemery
2406b235b4
Name unnamed binary sensors by their device class (#92940)
* Name unnamed binary sensors by their device class

* Update type annotations

* Fix loading of entity component translations

* Add test

* Update integrations

* Set abode and rfxtrx binary_sensor name to None

* Revert changes in homekit_controller
2023-06-13 19:48:54 +02:00
Erik Montnemery
a71c097aeb
Revert "Allow setting an entity's name by its device class" (#93539) 2023-05-25 17:20:54 +02:00
Erik Montnemery
67c1051305
Allow setting an entity's name by its device class (#90767)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-05-09 18:55:55 +02:00
Aidan Timson
3bc023986c
Fix listener running in foreground for System Bridge integration (#91391)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-04-15 15:49:05 +02:00
Aidan Timson
d6c954a909
Reduce startup time for System Bridge integration (#91171) 2023-04-13 00:36:51 +02:00
Aidan Timson
73e1942eeb
Update entity names to capitalize first word only for System Bridge (#89688) 2023-03-14 12:28:43 +01:00
Aidan Timson
a99f6f7124
Handle ConnectionClosedException from System Bridge (#89654)
Handle unretrieved ConnectionClosedException from System Bridge
2023-03-13 20:55:37 -04:00
Aidan Timson
6809bd3029
Remove incorrect state class for System Bridge sensors (#89655) 2023-03-13 20:54:49 -04:00
Aidan Timson
85bcf11aeb
Update systembridgeconnector to 3.4.8 (#79732)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-03-07 10:22:31 +01:00
Erik Montnemery
b0b1d8143f
Sort manifests 10 (#87031) 2023-02-08 20:41:50 +01:00
epenet
1b23429f41
Add __init__ return type to integrations (#87637) 2023-02-07 15:55:14 +01:00
Franck Nijhof
939eef3b28
Remove translations from Core (#87543)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
GitHub Action
d1ecc418bb [ci skip] Translation update 2023-01-19 00:25:04 +00:00
Franck Nijhof
f39f3b612a
String formatting and max line length - Part 5 (#84501)
Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>
2022-12-23 16:43:17 +01:00
epenet
ba043c9ebb
Use UnitOfTemperature in integrations (p-s) (#84308) 2022-12-20 18:47:27 +01:00
epenet
0184aadb09
Use UnitOfElectricPotential in integrations (#84044) 2022-12-15 13:59:21 +01:00
epenet
85235ea5f6
Use FREQUENCY device class in integrations (#83916)
* Use FREQUENCY device class in integrations

* Adjust tesla

* Undo goodwe

* Adjust cpuspeed tests
2022-12-13 14:14:42 +01:00
epenet
69bc95a715
Use DATA_SIZE device class in integrations (#83895) 2022-12-13 10:17:56 +01:00
epenet
52d4a358a0
Use UnitOfPower in integrations [s-z] (#83826) 2022-12-12 12:20:16 +01:00
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 (#81186) 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 (#79990) 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 (#78275) 2022-09-12 23:45:19 +02:00
epenet
5c8e8e4860
Use new media player enums (#78264) 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 (#76921) 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 (#77032)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-08-20 00:27:33 +02:00
Aidan Timson
3cb062dc13
Add System Bridge Media Source (#72865) 2022-08-16 09:48:01 -04:00
Aidan Timson
64898af58e
Update systembridgeconnector to 3.4.4 (#75362)
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 (#74701) 2022-07-09 19:55:33 +02:00
J. Nick Koston
cd03c49fc2
Wait for config entry platform forwards (#73806) 2022-07-09 17:27:42 +02:00
Aidan Timson
46b4be5b41
Add boot time sensor to System Bridge (#73039)
* 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 (#73339)
* 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 (#72702)
* 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) (#72766) 2022-06-02 14:28:14 +02:00