Commit Graph

50173 Commits

Author SHA1 Message Date
Franck Nijhof
36ff15b038 Fix container init (#72478) 2022-05-25 12:15:33 +02:00
BigMoby
42c80dda85 Create iAlarmXR integration (#67817)
* Creating iAlarmXR integration

* fixing after review code

* fixing remaining review hints

* fixing remaining review hints

* updating underlying pyialarm library

* Creating iAlarmXR integration

* fixing after review code

* fixing remaining review hints

* fixing remaining review hints

* updating underlying pyialarm library

* fixing after iMicknl review

* Improving exception handling

* Updating pyialarmxr library

* fixing after merge dev

* fixing after iMicknl review

* Update CODEOWNERS

Co-authored-by: Ludovico de Nittis <git@denittis.one>

* fixing iot_class

* Update homeassistant/components/ialarmxr/config_flow.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* fixing after bdraco review

* Update homeassistant/components/ialarmxr/config_flow.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* reverting catching exception in setup step

* Update homeassistant/components/ialarmxr/__init__.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/ialarmxr/__init__.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* fixing after bdraco suggestions

* Update homeassistant/components/ialarmxr/alarm_control_panel.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/ialarmxr/alarm_control_panel.py

Co-authored-by: Mick Vleeshouwer <mick@imick.nl>

* Update homeassistant/components/ialarmxr/config_flow.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/ialarmxr/config_flow.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/ialarmxr/__init__.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/ialarmxr/__init__.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/ialarmxr/utils.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* regenerate translation and rename function to async_get_ialarmxr_mac

* removing and collapsing unused error messages

* fixing tests

* improve code coverage in tests

* improve code coverage in tests

* improve code coverage in tests

* fixing retry policy with new pyalarmxr library

* snake case fix

* renaming integration in ialarm_xr

* renaming control panel name

Co-authored-by: Ludovico de Nittis <git@denittis.one>
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Mick Vleeshouwer <mick@imick.nl>
2022-05-25 10:52:06 +02:00
Austin Mroczek
5b896b315e Add TotalConnect options flow to auto-bypass low battery (#62458)
* rebase

* use bypass option in async_setup_entry

* add test for options flow

* default to False for AUTO_BYPASS

* fix bypass defaults
2022-05-25 10:49:53 +02:00
epenet
53fb581bff Adjust config-flow type hints in dynalite (#72476) 2022-05-25 10:37:09 +02:00
Guido Schmitz
bf75cb3cc5 Improve tests of devolo_home_network (#71873)
* Improve tests

* Use entity_registry_enabled_by_default fixture
2022-05-25 10:36:09 +02:00
Abadede
72cb320ed7 Fix Hue SONOFF S31 Lite zb plug (#69589)
* Update light.py

Same issue as https://github.com/home-assistant/core/issues/46619 with SONOFF S13 Lite Zigbee plug.

* Update light.py
2022-05-25 10:33:05 +02:00
ollo69
cc7b624418 Improve AndroidTV typing (#71036)
* Improve AndroidTV typing

* Change input type in async_connect_androidtv
2022-05-25 09:57:40 +02:00
Bryton Hall
1d5b8746fe Add co2 and iaq entities to venstar component (#71467) 2022-05-25 09:51:19 +02:00
Lars
804c888098 Free color selection for Fritz!Smarthome lights (#66213)
* Fritz light free color selection

* Use setcolor as fallback

* better debug log message

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>

* change if-clause

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2022-05-25 09:28:36 +02:00
rappenze
1e4690626f Better detection for brightness support in fibaro light (#71615) 2022-05-25 09:07:55 +02:00
Duco Sebel
88c49f034a Use 'python-homewizard-energy' dependency for HomeWizard (#71781)
* Update requirement

* Remove aiohwenergy and use python-homewizard-energy

* Update test to work with python-homewizard-energy

* Bumb python-homewizard-energy to 1.0.3
2022-05-25 09:05:11 +02:00
Dave T
ce477e65ce Render template during stream_url test for generic camera (#69716) 2022-05-25 09:02:48 +02:00
epenet
4f14d40072 Adjust config-flow type hints in philips_js (#72443) 2022-05-25 09:00:42 +02:00
Allen Porter
71bc650ac7 Stop updating google_calendars.yaml if it does not already exist (#72340)
* Stop updating google_calendars.yaml if it does not already exist

* Add additional test coverage to make CI pass

* Add test for no updates to google_calendar.yaml

* Add parameter to test for expecting write calls

* Missing call argument

* Remove conditional and replace with inline assert
2022-05-25 08:59:27 +02:00
David F. Mulcahey
9591d5366e Add config entities for the Aqara P1 motion sensor to ZHA (#72466)
* initial work for configurable detection interval

* update opple cluster channel

* detection interval

* motion sensitivity

* only set the init attributes for the right device

* add trigger indicator configuration entity
2022-05-25 08:57:26 +02:00
Nathan Spencer
a98af2ad58 Better handling of balboa spa connection (#71909)
* Better handling of balboa spa connection

* Send a single message for keep alive task rather than multiple
2022-05-25 08:51:58 +02:00
RoboMagus
c1ddde3764 Check if attributes are present in new_state before accessing them (#71967)
* Check if attributes are present in new_state before accessing them.

* Early return if new state is None|Unknown|Unavailable

* Removed whitespace at line endings. +black run

* Update test for coverage
2022-05-25 08:44:08 +02:00
Guido Schmitz
5dfeb1e02a Allow removing devices in devolo_home_control (#72190)
Allow removing devices
2022-05-25 08:39:05 +02:00
starkillerOG
9514f491f0 Add netgear speed test sensor (#72215)
* implement speed_test

* fix units

* restore last speedtest result

* fix import

* fix restore state is None

* fix styling

* fix mypy

* Use newer notation

* correct unit

* fix typing

* fix pylint

* fix issort

* use RestoreSensor

* fix import

* fix sensor restore

* do not extend SensorEntity

* fix mypy

* fix typing 2
2022-05-25 08:38:47 +02:00
Hans Oischinger
4c8a77fbd4 Bump PyViCare==2.16.2 (#72448) 2022-05-25 08:30:21 +02:00
Raman Gupta
eb7a521232 Fix more typing for zwave_js (#72472)
* Fix more typing for zwave_js

* Revert one change

* reduce lines

* Fix tests
2022-05-25 07:50:25 +02:00
Philip Allgaier
209f37196e Adjust path to version info in Github issue template (#72431) 2022-05-24 20:51:19 -07:00
Robert Svensson
76146cf57c Fix deCONZ does not generate unique IDs for battery sensors (#72455) 2022-05-24 20:51:02 -07:00
Robert Svensson
e60b247b51 Simplify setup of deCONZ platforms (#72453) 2022-05-24 20:48:09 -07:00
jjlawren
fbeaf200e4 Handle Plex searches in URL media_content_id format (#72462) 2022-05-24 20:46:27 -07:00
J. Nick Koston
b8e9b8f540 Add number platform to Big Ass Fans (#72435) 2022-05-24 20:45:27 -07:00
Kevin Stillhammer
e4cd04f936 Use length_util for here_travel_time (#72458) 2022-05-24 20:42:37 -07:00
Raman Gupta
352b7e86af Move zwave_js node metadata comments to separate WS API cmd (#71513)
* Move zwave_js node metadata comments to separate WS API cmd

* fix pr
2022-05-24 22:11:43 -04:00
Marc Mueller
d0008683be Use new project metadata format [PEP 621] (#72422) 2022-05-24 19:01:27 -07:00
Franck Nijhof
38ad1ef233 Use My Home Assistant for OAuth2 redirect callbacks (#72449)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-05-24 19:00:36 -07:00
Zack Barett
b9baaf573c Bump Frontend to 20220524.0 (#72467) 2022-05-24 18:54:11 -07:00
G Johansson
a2a691f232 Improve Sensibo terminology (#72451) 2022-05-24 14:40:26 -10:00
GitHub Action
301341a49f [ci skip] Translation update 2022-05-25 00:26:18 +00:00
rforro
db815a7504 ZHA Add entities for Lidl water valve quirk (#72307)
* init

* added timer number entity

* added write attribute button entity

* fixed missed errors

* minor changes & fixed failing test

* removed icon

* unit and icons
2022-05-24 19:56:03 -04:00
David F. Mulcahey
7aca007a9a Don't discover entities or initialize cluster channels for the coordinator in ZHA (#72442)
don't discover coord entities or init channels
2022-05-24 19:44:33 -04:00
rforro
0c2f22d478 Add configurable zha switch entity (#71784)
* add configurable zha switch entity

* final zha configurable switch

* fix codecov

* replaced errorneous cluster with local quirk

* test fix

* minor changes
2022-05-24 19:43:35 -04:00
Martin Hjelmare
6cac1dadeb Clean zwave_js platform typing (#72439)
* Fix binary sensor

* Fix climate

* Fix cover

* Fix fan

* Fix light

* Fix lock

* Fix number

* Fix select

* Fix sensor

* Add back type ignore until library bump
2022-05-24 19:23:34 -04:00
Jon Benson
777c9c08ff Update Rainforest Eagle to use eagle100 instead of uEagle (#70177) 2022-05-24 15:48:54 -07:00
Martin Hjelmare
f7475a5bdb Clean zwave_js entity driver access (#72427) 2022-05-24 17:52:07 -04:00
Martin Hjelmare
c4ca106379 Clean zwave_js api driver access (#72419) 2022-05-24 17:16:58 -04:00
rikroe
cd769a55c2 Update BMW connected drive to async (#71827)
* Change BMW connected drive to async

* Fix coordinator exceptions, fix tests

* Fix using deprecated property

* Write HA state directly

* Remove code that cannnot throw Exceptions from try/except

* Use public async_write_ha_state

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

* Fix login using refresh_token if token expired

* MyPy fixes

* Fix pytest, bump dependency

* Replace OptionFlow listener with explicit refresh

* Remove uneeded async_get_entry

* Update test to include change on OptionsFlow

* Bump bimmer_connected to 0.9.0

* Migrate renamed entitity unique_ids

* Don't replace async_migrate_entries, add tests

* Rename existing_entry to existing_entry_id

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

* Update tests

* Import full EntityRegistry

* Fix comment

* Increase timeout to 60s

* Rely on library timeout

Co-authored-by: rikroe <rikroe@users.noreply.github.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-05-24 21:44:18 +02:00
epenet
f33151ff8b Adjust config-flow type hints in unifi (#72411)
* Adjust config-flow type hints in unifi

* Use mapping

* Use mapping

* Fix tests

* Fix tests

* Revert "Use mapping"

This reverts commit 126fedc84828dfa2badc1b6f673ab8a4e702d230.
2022-05-24 21:42:11 +02:00
Steven Looman
2e36a79357 Changes after late upnp review (#72241)
* Changes after review of #70008, part 1

* Changes after review from #70008

* Revert to UpnpDataUpdateCoordinator._async_update_data
2022-05-24 21:37:37 +02:00
Martin Hjelmare
a5e100176b Refactor zwave_js setup entry (#72414)
* Refactor zwave_js setup entry

* Improve message
2022-05-24 14:46:06 -04:00
epenet
6245d28907 Remove YAML configuration from vicare (#72408) 2022-05-24 20:28:09 +02:00
Bouwe Westerdijk
ffbec553d1 Bump plugwise to v0.18.5 (#72441) 2022-05-24 19:50:02 +02:00
epenet
1d68934ae2 Deprecate vera YAML configuration (#72418) 2022-05-24 18:12:25 +02:00
epenet
1482a8f73a Adjust config-flow type hints in axis (#72387) 2022-05-24 17:01:08 +02:00
Ruben
8c9d7b392b Change default name of motion blind TDBU entities so they can be auto renamed (#72284)
Change the default name of motion blind TDBU entities so they can be automatically renamed
2022-05-24 16:48:22 +02:00
Eric Severance
1a43f107c4 All WeMo devices use the Sensor platform (#72396)
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-05-24 16:40:14 +02:00