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 8bee25c938a123f0da7569b4e2753598d478b900
2022-06-03 13:55:57 +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
epenet
b9379b5a88
Use climate enums in toon ( #70744 )
2022-04-26 08:46:39 +02:00
epenet
bbf19582bb
Use EntityFeature enum in components (t**) ( #69457 )
2022-04-07 14:07:27 +02:00
Allen Porter
c07100e519
Move Local OAuth http endpoint registration to auth component ( #69507 )
2022-04-06 22:34:31 -07:00
Marc Mueller
add741d789
Update coordinator typing (6) [t-v] ( #68466 )
2022-03-21 14:20:35 +01:00
GitHub Action
66d757115c
[ci skip] Translation update
2022-03-11 00:21:48 +00:00
GitHub Action
102ae9f0e3
[ci skip] Translation update
2022-02-22 00:17:23 +00:00
GitHub Action
b2f0882e67
[ci skip] Translation update
2022-02-04 00:13:58 +00: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 ( #65083 )
2022-01-28 13:37:53 -08:00
Erik Montnemery
d4497e4b68
Make toon fall back to webhooks if cloud is not available ( #64981 )
2022-01-26 11:06:47 -08:00
epenet
6a6cdef725
Import webhook in toon ( #64544 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-20 12:04:47 +01:00
epenet
2c0033254b
Import cloud ( #64116 )
...
* Add type hints to cloud
* Import cloud
* Adjust smartthings tests
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-14 16:35:35 +01:00
epenet
0700c73bd0
Add setup type hints [s-t] ( #63613 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-07 16:29:16 +01:00
epenet
18056f3a8a
Add init type hints [t-u] ( #63194 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-01 22:06:11 -08:00
GitHub Action
87d4420a72
[ci skip] Translation update
2021-12-23 00:14:21 +00:00
GitHub Action
cceedf766a
[ci skip] Translation update
2021-12-22 00:14:51 +00:00
Robert Hillis
087724d2f2
Use enums in toon ( #62021 )
2021-12-16 12:26:39 +01:00
GitHub Action
d69c6e3ab3
[ci skip] Translation update
2021-12-08 00:13:50 +00:00
Marc Mueller
b79b35abb5
Use platform enum (7) [T-Z] ( #60948 )
...
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-12-04 14:10:01 +01:00
GitHub Action
de792e3af2
[ci skip] Translation update
2021-12-02 00:13:02 +00:00
GitHub Action
96313bbbe0
[ci skip] Translation update
2021-11-27 00:12:17 +00:00
GitHub Action
d3c020325b
[ci skip] Translation update
2021-11-25 00:13:33 +00:00
tizzen33
8b676f4252
Add Toon Humidity Sensor ( #59488 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-11-14 16:59:09 +01:00
GitHub Action
e35b83081e
[ci skip] Translation update
2021-11-08 00:12:31 +00:00
GitHub Action
332a571bb4
[ci skip] Translation update
2021-11-07 00:12:38 +00:00
GitHub Action
c9c95165e4
[ci skip] Translation update
2021-11-04 00:12:21 +00:00
epenet
a0b3a58d1c
Use DeviceInfo in toon ( #58605 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-10-28 18:20:41 +02:00
Paulus Schoutsen
e1e864d2b6
Get the registry using the callback method ( #58542 )
2021-10-27 15:58:14 -07:00
epenet
a3d1159a13
Use DeviceInfo on components with via_device (R-X) ( #58213 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-10-22 12:52:33 +02:00
Franck Nijhof
158dd1556c
Remove myself as code owner from Toon ( #57625 )
2021-10-13 22:36:49 +02:00
Franck Nijhof
24fa2a714a
Toon, support Energy dashboard by default ( #57233 )
2021-10-07 11:59:04 +02:00
GitHub Action
f42c2f5170
[ci skip] Translation update
2021-10-02 12:59:05 +00:00
Marc Mueller
71ce858378
Use EntityDescription - toon ( #55035 )
2021-09-27 19:37:12 +02:00
Franck Nijhof
2fe8c78811
Fix Toon push updates ( #56583 )
2021-09-23 19:50:30 +02:00
GitHub Action
65d14909ee
[ci skip] Translation update
2021-08-27 00:14:42 +00:00
GitHub Action
ff14a11254
[ci skip] Translation update
2021-08-24 01:55:24 +00:00
Erik Montnemery
cbff6a603d
Remove unused last_reset from Toon ( #54798 )
2021-08-18 12:15:01 +02:00
Franck Nijhof
f39dc749bb
Toon: Remove icon from sensors with gas device class ( #54753 )
2021-08-17 16:28:18 +02:00
Franck Nijhof
2b1299b540
Update Toon to use new state classes ( #54705 )
2021-08-16 18:20:44 +02:00
Bram Kragten
e23750b2a4
Add device class gas
and enable statistics for it ( #54110 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-08-11 09:58:19 -07:00
Erik Montnemery
94a264afaf
Move temperature conversions to entity base class (7/8) ( #54482 )
2021-08-11 18:57:50 +02:00
GitHub Action
98bcdc2cf5
[ci skip] Translation update
2021-08-07 00:10:12 +00:00
GitHub Action
64c9f9e1cb
[ci skip] Translation update
2021-08-06 00:15:04 +00:00
Marc Mueller
f6b162bc39
Add pylint CodeStyle extension ( #53147 )
2021-07-19 06:57:06 -07:00
GitHub Action
531733da7b
[ci skip] Translation update
2021-07-19 00:09:50 +00:00