Commit Graph

45357 Commits (f4ed28ab09605d79be84062bcd4fed433b564ca9)

Author SHA1 Message Date
Arjan van Balken f4ed28ab09
Update Arris TG2492LG dependency to 1.2.1 (#64999) 2022-01-27 11:48:37 +01:00
Patrik Lindgren 9d404b749a
Implement coordinator class for Tradfri integration (#64166)
* Initial commit coordinator

* More coordinator implementation

* More coordinator implementation

* Allow integration reload

* Move API calls to try/catch block

* Move back fixture

* Remove coordinator test file

* Ensure unchanged file

* Ensure unchanged conftest.py file

* Remove coordinator key check

* Apply suggestions from code review

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

* Import RequestError

* Move async_setup_platforms to end of setup_entry

* Remove centralised handling of device data and device controllers

* Remove platform_type argument

* Remove exception

* Remove the correct exception

* Refactor coordinator error handling

* Apply suggestions from code review

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

* Remove platform type from base class

* Remove timeout context manager

* Refactor exception callback

* Simplify starting device observation

* Update test

* Move observe start into update method

* Remove await self.coordinator.async_request_refresh()

* Refactor cover.py

* Uncomment const.py

* Add back extra_state_attributes

* Update homeassistant/components/tradfri/coordinator.py

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

* Refactor switch platform

* Expose switch state

* Refactor sensor platform

* Put back accidentally deleted code

* Add set_hub_available

* Apply suggestions from code review

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

* Fix tests for fan platform

* Update homeassistant/components/tradfri/base_class.py

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

* Update homeassistant/components/tradfri/base_class.py

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

* Fix non-working tests

* Refresh sensor state

* Remove commented line

* Add group coordinator

* Add groups during setup

* Refactor light platform

* Fix tests

* Move outside of try...except

* Remove error handler

* Remove unneeded methods

* Update sensor

* Update .coveragerc

* Move signal

* Add signals for groups

* Fix signal

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-27 11:12:52 +01:00
Paulus Schoutsen 3daaed1056
Catch connection reset error (#65027) 2022-01-27 11:02:27 +01:00
Shay Levy fa62e7e142
Fix Shelly battery powered devices unavailable (#65031) 2022-01-27 11:00:38 +01:00
Joakim Sørensen b086c8d898
Set ping data to None instead of False (#65013) 2022-01-27 10:03:45 +01:00
Jan Bouwhuis 0cabf3e577
Fix MQTT climate action null warnings (#64658) 2022-01-27 08:41:27 +01:00
Marc Mueller f6c679699f
Add plugin option [hassfest] (#65024) 2022-01-26 20:52:09 -08:00
J. Nick Koston 2325cacb04
Bump flux_led to fix push updates on newer devices (#65011) 2022-01-26 20:50:20 -08:00
Brandon Rothweiler dc1db463fc
Bump pymazda to 0.3.2 (#65025) 2022-01-26 21:40:53 -06:00
GitHub Action dd4e5bb9c5 [ci skip] Translation update 2022-01-27 00:14:02 +00:00
Jesse Hills cb2f5b5ed5
Add diagnostics download to ESPHome (#65008) 2022-01-26 14:35:41 -08:00
Franck Nijhof 4925cf5aff
Handle Tuya sendings strings instead of numeric values (#65009) 2022-01-26 14:05:01 -08:00
Franck Nijhof 0f63fb221c
Bump version to 2022.3.0dev0 (#64996) 2022-01-26 20:53:09 +01:00
Erik Montnemery 67838518ab
Abort owntracks config flow when not connected to home assistant cloud (#64968) 2022-01-26 11:07:34 -08:00
Erik Montnemery 664be84121
Abort plaato flows when not connected to home assistant cloud (#64969) 2022-01-26 11:07:26 -08:00
Erik Montnemery 5071b3b959
Abort rachio config entry setup when not connected to cloud (#64975) 2022-01-26 11:07:10 -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
Paulus Schoutsen 8b3e923f4b
Fix Plex media class in Cast media browser (#64995) 2022-01-26 11:00:31 -08:00
Erik Montnemery 94288886c3
Abort webhook flow when not connected to home assistant cloud (#64963) 2022-01-26 10:57:45 -08:00
Paulus Schoutsen 2c0c01498f
Fix media classes (#64993) 2022-01-26 10:51:25 -08:00
jjlawren 1e34cc62ba
Support Plex in Cast media browser (#64994) 2022-01-26 10:51:08 -08:00
jjlawren e17f1ea577
Support Plex in Sonos media browser (#64951)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-01-26 10:40:47 -08:00
Bram Kragten e5b0031103
Update frontend to 20220126.0 (#64990) 2022-01-26 10:30:36 -08:00
Paulus Schoutsen b2de177104
Fix circles in person integration (#64991) 2022-01-26 10:25:13 -08:00
Erik Montnemery 07563f4fd2
Disable google_assistant local SDK if SSL is enabled (#64983) 2022-01-26 18:55:30 +01:00
Shay Levy 189418a4dd
Fix Shelly HT invalid value on sensor error (#64982) 2022-01-26 19:33:37 +02:00
Joakim Sørensen f23277a187
Only log exception in GitHub when something unexpected raised (#64974) 2022-01-26 18:11:40 +01:00
Paulus Schoutsen d14fbf40c8
Store new spotify client in hass.data (#64984) 2022-01-26 09:00:59 -08:00
Erik Montnemery 9ff49e9c3a
Change zone's state to be number of person entities in the zone (#64910)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-01-26 09:00:43 -08:00
Mick Vleeshouwer ccf018a5fc
Fix battery sensor in Overkiz integration (#64980) 2022-01-26 10:31:17 -06:00
Mick Vleeshouwer 930db54a27
Bump pyoverkiz to 1.3.1 (to fix bugs) (#64979) 2022-01-26 10:30:55 -06:00
Simone Chemelli 3f12ce06af
Add detailed status for UptimeRobot (#64879)
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
2022-01-26 16:48:15 +01:00
Joakim Sørensen eb5c6076af
Check for empty release array (#64973) 2022-01-26 16:31:21 +01:00
Jeef 2b101dd5c2
Add IntelliFire sensors (#64600)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-01-26 16:16:25 +01:00
Christopher Bailey e203efa8b1
Fix custom message for UniFi Protect doorbell select (#64971) 2022-01-26 05:14:40 -10:00
Aaron Bach e9a71231c2
Add diagnostics to WattTime (#64887) 2022-01-26 15:48:38 +01:00
Erik Montnemery f92e8ab931
Drop owntracks import flow (#64967) 2022-01-26 15:47:37 +01:00
Erik Montnemery 9079734348
Correct netatmo startup (#64970) 2022-01-26 15:46:08 +01:00
Simon Hansen 37225c36fc
Add starship event sensor (#64965) 2022-01-26 15:37:15 +01:00
epenet dfdbeba7be
Use entity_description in shelly block sensors (#64897)
* Use entity_description in shelly block sensors

* Re-order binary sensor

* Add async_added_to_hass for BlockSleepingBinarySensor

* Undo None

* Build description when restoring block attribute entities

* Move async_added_to_hass back to base class

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-26 16:07:15 +02:00
dougiteixeira 982580b95a
Complementing the Tuya Fan (fs) category (#64947)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-01-26 13:03:05 +01:00
Simon Hansen 4e808133f2
Add next starship launch sensor to launch_library (#64929)
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
2022-01-26 12:31:03 +01:00
Franck Nijhof bcd7390488
Fix use of implicit re-export in env canada (#64964) 2022-01-26 12:22:53 +01:00
dougiteixeira bbf64483e7
Fix send command in vacuum Tuya (#64949) 2022-01-26 11:34:18 +01:00
Franck Nijhof d49b821565
Set entity category on Tuya backlights (#64962) 2022-01-26 11:20:31 +01:00
Franck Nijhof 92ca76a167
Add backlight controls for Tuya curtain switches (#64961) 2022-01-26 11:13:38 +01:00
Erik Montnemery 18ea43b927
Prevent race when loading cloud config (#64901)
* Prevent race when loading cloud config

* Tweak
2022-01-26 10:59:36 +01:00
tokenize47 2f30fdb9b8
Add solax config flow (#56620) 2022-01-26 10:58:06 +01:00
Marc Mueller 5e633498d2
Enable `no_implicit_reexport` for core files [mypy] (#63820) 2022-01-26 10:55:06 +01:00
Tathar 16e5d7abe1
Add unique_id to modbus entities (#64634)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-01-26 10:37:15 +01:00