Commit Graph

45851 Commits (f5829173db5b56d7f52465440e340fcea1668b6c)

Author SHA1 Message Date
Franck Nijhof f5829173db
More cleanup in Plugwise climate (#66257) 2022-02-10 17:13:22 +01:00
Jarod Wilson deb8185911
Add unique_id for decora_wifi lights (#66142)
I have some decora_wifi switches that I want to be able to move around
to different rooms within Home Assistant, and for that to be practical,
they need unique IDs, so here we are.

Signed-off-by: Jarod Wilson <jarodwilson@gmail.com>
2022-02-10 17:10:58 +01:00
Paulus Schoutsen dd48f1e6fc
Allow uploading media to media folder (#66143) 2022-02-10 08:03:14 -08:00
J. Nick Koston 0fb2c78b6d
Add RGBW/RGBWW support to WiZ (#66196) 2022-02-10 09:08:33 -06:00
Franck Nijhof 51e14cebe3
Remove Plugwise Auxiliary sensors (#66259) 2022-02-10 15:55:27 +01:00
Franck Nijhof 3896b4a31d
Add additional switches to Plugwise (#66261) 2022-02-10 15:49:19 +01:00
Franck Nijhof 4cad29d7d4
More cleanup in Plugwise binary sensor (#66255) 2022-02-10 11:17:35 +01:00
Erik Montnemery f5fff95e8b
Tweak constant config_entries.DISCOVERY_SOURCES (#66249) 2022-02-10 11:12:38 +01:00
epenet 47d6f75c17
Enable basic type checking in template (#66222)
* Fix binary_sensor

* Adjust button

* Adjust fan

* Adjust select

* Adjust template_entity

* Adjust trigger_entity

* Adjust weather

* Adjust init

* Adjust number

* Adjust None check
2022-02-10 10:59:54 +01:00
Franck Nijhof 8760cb035a
More cleanup in Plugwise switch (#66254) 2022-02-10 10:17:37 +01:00
epenet ea325ef027
Enable basic type checking in demo platforms (#66212)
* Adjust type hints in demo platforms

* Adjust mypy config

* Adjust name
2022-02-10 10:05:58 +01:00
Franck Nijhof b3814aa4e6
Refactor Plugwise command handling (#66202) 2022-02-10 09:53:26 +01:00
Jan Bouwhuis 678e56b8b7
Mqtt move to .const (#65631) 2022-02-10 09:18:35 +01:00
epenet f17d66228c
Enable basic type checking in demo init (#66218)
* Enable basic type checking in demo init

* Remove from mypy ignore list
2022-02-10 09:04:36 +01:00
Paulus Schoutsen e90143e5c9
Sort media sources (#66237)
* Sort media sources

* Flatten media sources and sort Cast children

* Only expand if possible
2022-02-10 09:03:29 +01:00
Daniel Hjelseth Høyer 3733aa9494
Add more sensors for users with Tibber Pulse (#66201)
* Tibber, Add stats and sensors for homes with real time meter

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Tibber stats

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Monthly peak hour
2022-02-10 08:47:34 +01:00
Raman Gupta 72acda81a7
Simplify get_unique_id helper function for zwave_js (#66221) 2022-02-10 08:46:32 +01:00
Michael 23e39d62d4
bump py-synologydsm-api to 1.0.6 (#66226) 2022-02-10 08:43:48 +01:00
Milan Meulemans 86cf5ec5c2
Bump aioaseko to 0.0.2 to fix issue (#66240) 2022-02-10 08:37:35 +01:00
j-a-n 243d003acc
Add Moehlenhoff Alpha2 underfloor heating system integration (#42771)
* Add Moehlenhoff Alpha2 underfloor heating system integration

* isort changes

* flake8 changes

* Do not exclude config_flow.py

* pylint changes

* Add config_flow test

* correct requirements_test_all.txt

* more tests

* Update test description

* Test connection and catch TimeoutError in async_setup_entry

* Add version to manifest file

* Remove version from manifest file

* Replace tests.async_mock.patch by unittest.mock.patch

* Update moehlenhoff-alpha2 to version 1.0.1

* Update requirements for moehlenhoff-alpha2 1.0.1

* Update moehlenhoff-alpha2 to 1.0.2

* Use async_setup_platforms

* Use async_unload_platforms

* Separate connection and devices for each entry_id

* Use async_track_time_interval to schedule updates

* Check if input is valid before checking uniqueness

* Move Exception handling to validate_input

* Catch aiohttp.client_exceptions.ClientConnectorError

* Remove translation files

* Mock TimeoutError

* Fix data update

* Replace current callback implementation with ha dispatcher

* Return False in should_poll

* Remove unused argument

* Remove CONNECTION_CLASS

* Use _async_current_entries

* Call async_schedule_update_ha_state after data update

* Remove unneeded async_setup

Co-authored-by: Milan Meulemans <milan.meulemans@live.be>

* Remove unneeded async_setup_platform

Co-authored-by: Milan Meulemans <milan.meulemans@live.be>

* Set Schema attribute host required

Co-authored-by: Milan Meulemans <milan.meulemans@live.be>

* Remove unused Exception class

Co-authored-by: Milan Meulemans <milan.meulemans@live.be>

* Update manifest.json

Co-authored-by: Milan Meulemans <milan.meulemans@live.be>

* pylint constructor return type None

* Replace properties by class variables

* use pass instead of return

* Remove unused sync update method

* remove property hvac_action

* remove pass

* rework exception handling

* Update homeassistant/components/moehlenhoff_alpha2/config_flow.py

Co-authored-by: Milan Meulemans <milan.meulemans@live.be>

* Correct indentation

* catch Exception in validate_input

* Replace HomeAssistantType with HomeAssistant

* Update to moehlenhoff-alpha2 1.0.3

* Allow to switch between heating and cooling mode

* Update moehlenhoff-alpha2 to version 1.0.4

* Update heatarea data after setting target temperature

* Support hvac_action

* Fix heatarea update with multiple bases

* Update data after setting preset mode

* Use custom preset modes like defined by device

* Fix config flow test

* Fix test_duplicate_error

* Rename property to extra_state_attributes

Rename property device_state_attributes to extra_state_attributes and
return lowercase keys in dict.

* Refactor using DataUpdateCoordinator

* Remove _attr_should_poll

* Raise HomeAssistantError on communication error

Catch HTTPError instead of broad except and reraise as HomeAssistantError

* Change DataUpdateCoordinator name to alpha2_base

* Refresh coordinator before setting data

* Raise ValueError on invalid heat area mode

* Rename heatarea to heat_area

* Set type annotation in class attribute

* Move coordinator to top

* Move exception handling to the coordinator

* Use heat_area_id directly

* Sore get_cooling() result into local var

* Add explanation of status attributes

and remove BLOCK_HC

* Fix pylint warnings

* from __future__ import annotations

* Use Platform Enum

* Move data handling to coordinator

* Remove property extra_state_attributes

* Add missing annotations

* Update moehlenhoff-alpha2 to version 1.1.2

* Rework tests based on the scaffold template

* Set also heat/cool/day/night temp with target temp

* Remove unneeded code from tests

Co-authored-by: Milan Meulemans <milan.meulemans@live.be>
2022-02-10 08:28:52 +01:00
Patrik Lindgren 543b49728a
Fix tradfri device name (#66219) 2022-02-10 08:19:59 +01:00
jjlawren 9fd8428254
Sonos lock subscription actions (#66204)
* Move exception logging to helper

* Wrap subscription in lock

* Rewrite subscribe method to use new logging helper

* Mark entitites as unavailable sooner to avoid unnecessary polls

* Rename unclear method and update docstring

* Move lock to unsubscribe
2022-02-09 21:56:10 -06:00
GitHub Action 7d70b0a16b [ci skip] Translation update 2022-02-10 00:15:56 +00:00
Mick Vleeshouwer d7fcda01b8
Add siren platform to Overkiz (#65300) 2022-02-09 17:36:56 -06:00
jjlawren 47af256610
Schedule activity checks when using manual hosts (#65970) 2022-02-09 16:55:00 -06:00
Kevin Stillhammer 7a1bbb06be
add @eifinger as waze_travel_time codeowner (#66214) 2022-02-09 23:30:29 +02:00
Kevin Stillhammer 604fe3f19b
add @eifinger as google_travel_time_codeowner (#66215) 2022-02-09 23:29:39 +02:00
epenet cc5bb556c8
Move Freebox reboot service to a button entity (#65501)
* Add restart button to freebox

* Add warning

* restart => reboot

* Add button tests

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-09 22:20:24 +01:00
epenet f4aaa981a1
Adjust coverage to include all config flows (#66193)
* Adjust tradfri

* Adjust huawei_lte

* Adjust iqvia

* Adjust wiffi

* Adjust solarlog

* Adjust lifx

* Adjust doorbird

* Adjust rachio

* Adjust starline

* Adjust konnected

* Adjust ambient_station

* Adjust tado

* Adjust point

* Adjust daikin

* Adjust hangouts

* Adjust ifttt

* Adjust ios

* Adjust life360

* Adjust sms

* Adjust spider

* Adjust upnp

* Adjust hassfest
2022-02-09 22:19:29 +01:00
Franck Nijhof 8a09303c98
Extract Spotify media browsing into a module (#66175) 2022-02-09 22:03:15 +01:00
Paulus Schoutsen 3bce870c6d
Add helper for media players to handle HA hosted media (#66120)
* Sonos to sign all HASS urls

* Don't sign if queries in url

* Extract media player hass URL handling to helper
2022-02-09 12:50:33 -08:00
Maximilian bd657e5dd7
Add missing nina warnings (#66211) 2022-02-09 21:08:46 +01:00
Stephan Traub a6013dc0de
Update WiZ with IP address validation (#66117) 2022-02-09 12:53:32 -06:00
Erik Montnemery 83a10cca53
Enable basic type checking for config (#66197) 2022-02-09 19:09:55 +01:00
Franck Nijhof d4995624ee
Refactor Plugwise notification binary sensor (#66159) 2022-02-09 18:08:28 +01:00
Franck Nijhof aa95150360
Add entity descriptions to Plugwise switch platform (#66174) 2022-02-09 17:56:07 +01:00
Otto Winter 1f4ee3c265
Bump aioesphomeapi from 10.8.1 to 10.8.2 (#66189) 2022-02-09 17:54:27 +01:00
epenet 567f07c96e
Fix hdmi-cec initialization (#66172) 2022-02-09 07:52:32 -08:00
Erik Montnemery 3f7b7187ab
Fix controlling nested groups (#66176) 2022-02-09 14:27:46 +01:00
Kevin Stillhammer a0119f7ed0
Resolve zones and return state in find_coordinates (#66081) 2022-02-09 10:43:20 +01:00
Franck Nijhof bc9ccf0e47
Add device availability to Plugwise (#66152) 2022-02-09 10:33:06 +01:00
Franck Nijhof 2f08372026
Correct Velbus button light entity category (#66156) 2022-02-09 10:31:58 +01:00
Richard Benson b90434e8d6
Bump amcrest to 1.9.4 (#66124)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-02-09 10:25:07 +01:00
Franck Nijhof d34c289691
Clean up unneeded preset variable in Plugwise climate (#66151) 2022-02-09 10:23:39 +01:00
Franck Nijhof 924bcdf269
Move Plugewise binary sensor icon state into entity description (#66148) 2022-02-09 10:15:20 +01:00
Michael 95aec44292
Fix system is loaded flag during reboot/shutdown of Synology DSM (#66125) 2022-02-09 10:02:21 +01:00
Maikel Punie d9e9820e21
Move the buttonlights to diagnostic entities (#65423) 2022-02-09 09:50:15 +01:00
Simone Chemelli bfc3c29c6a
Change detection of router devices for Fritz (#65965) 2022-02-09 09:44:04 +01:00
Erik Montnemery da38d9ab80
Fix MQTT debug info (#66146) 2022-02-09 09:43:03 +01:00
Aaron Bach 83b7fac9a4
Bump simplisafe-python to 2022.02.1 (#66140) 2022-02-09 09:20:57 +01:00