Commit Graph
11659 Commits
Author SHA1 Message Date
Raman Gupta e53372f559 Add zwave_js/get_firmware_update_progress WS command (#73304)
Add zwave_js/get_firmware_update_progress WS command
2022-06-19 15:33:58 -04:00
Raman Gupta bb5a6a7104 Add zwave_js/get_firmware_update_capabilties WS command (#73691)
* Add zwave_js/get_firmware_update_capabilties WS command

* Fix test
2022-06-19 14:50:47 -04:00
Raman Gupta 801ba6ff8e Add target option to zwave_js firmware upload view (#73690) 2022-06-19 14:50:05 -04:00
Raman Gupta 9b93071720 Bump zwave-js-server-python to 0.38.0 (#73707)
* Bump zwave-js-server-python to 0.38.0

* Fix test
2022-06-19 20:12:01 +02:00
Álvaro Fernández RojasandJ. Nick Koston be6c2554dd Add QNAP QSW DHCP discovery (#73130)
* qnap_qsw: add DHCP discovery

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* qnap_qsw: config_flow: add async_step_dhcp

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* qnap_qsw: config_flow: lower DHCP logging

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* tests: qnap_qsw: fix copy & paste

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* qnap_qsw: dhcp: introduce changes suggested by @bdraco

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* Update homeassistant/components/qnap_qsw/config_flow.py

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

* qnap_qsw: async_step_user: disable raising on progress

Allows async_step_user to win over a discovery.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

Co-authored-by: J. Nick Koston <nick@koston.org>
2022-06-19 09:43:29 -05:00
G Johansson 68135e57af Split timer service for Sensibo (#73684) 2022-06-19 09:28:33 -05:00
Christopher Bailey b19b6ec6ea Update UniFi Protect to use MAC address for unique ID (#73508) 2022-06-19 09:22:33 -05:00
Raman Gupta 7714183118 Add zwave_js/subscribe_node_status WS API cmd (#73249)
* Add zwave_js/subscribe_node_status WS API cmd

* add ready to event
2022-06-19 10:09:26 -04:00
G Johansson d5df2b2ee7 Sensibo Add Pure Boost Service (#73114)
* Pure Boost Service

* Fix tests

* Fix mypy

* One service to two services

* Minor fix test

* Fix issues
2022-06-18 15:15:44 -05:00
G Johansson 046d7d2a23 Add tests for trafikverket_ferry (#71912) 2022-06-18 12:58:10 -05:00
Christopher Bailey 691d49f23b Refactor migration code for UniFi Protect (#73499) 2022-06-18 12:56:28 -05:00
uvjustin 7a3f632c1d Make stream recorder work concurrently (#73478) 2022-06-18 05:13:07 +10:00
J. Nick Koston 4bc5d7bfed Speed up zha tests (#73627) 2022-06-17 11:41:10 -05:00
Steven Looman bf15df75dd Ignore fake upnp/IGD devices when upnp is discovered (#73645) 2022-06-17 11:26:45 -05:00
Erik Montnemery baa810aabb Improve warnings for datetime and date sensors with invalid states (#73598) 2022-06-17 12:17:13 +02:00
Allen Porter ea21a36e52 Remove default use of google calendars yaml file in tests (#73621)
Remove default use of
 google_calendars.yaml in tests
2022-06-17 09:04:41 +02:00
Michael e30478457b Fix voltage and current values for Fritz!DECT smart plugs (#73608)
fix voltage and current values
2022-06-17 07:40:02 +02:00
cdd5a5f68b Generic ipcam configflow2 followup (#73511)
* Address code review comments

* Add type hints

* Remvoe unused strings

* Remove persistent notification setup

* Patch async_configre

* Fix pylint warning

* Address review comments

* Clean types

* Code review: defer local var assignment

Co-authored-by: Dave T <davet2001@users.noreply.github.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-06-17 07:07:21 +02:00
uvjustin 01a4a83bab Improve stream playback on high latency cameras (#72547)
* Disable LL-HLS for HLS sources
* Add extra wait for Nest cameras
2022-06-17 01:48:52 +10:00
Erik Montnemery e2327622c3 Migrate SNMP sensor to TemplateEntity (#73324) 2022-06-16 15:02:50 +02:00
Erik Montnemery dea8041461 Add device_class to MQTT number and migrate to native_value (#73534) 2022-06-16 13:34:54 +02:00
Maciej Bieniek c2b484e38b Use IP address instead of hostname in Brother integration (#73556) 2022-06-16 11:43:36 +02:00
Erik Montnemery 2d07cda4e7 Improve number deprecation warnings (#73552) 2022-06-16 09:05:13 +02:00
J. Nick Koston af81ec1f5f Handle offline generators in oncue (#73568)
Fixes #73565
2022-06-16 07:51:55 +02:00
Allen PorterandMartin Hjelmare b014d558ff Add application credentials platform for nest and deprecate yaml for SDM API (#73050)
* Update the nest integration to be useable fully from the config flow

* Support discovery in nest config flow

* Remove configuration entries

* Remove unused import

* Remove dead code

* Update homeassistant/components/nest/strings.json

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

* Remove commented out code

* Use config flow for app auth reauthentication path

* Improves for re-auth for upgrading existing project and creds

* More dead code removal

* Apply suggestions from code review

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

* Remove outdated code

* Update homeassistant/components/nest/config_flow.py

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-06-15 07:15:53 -07:00
Erik Montnemery 8c0ae545c9 Migrate knx NumberEntity to native_value (#73536) 2022-06-15 14:39:56 +02:00
Thibaut 658ce9d4f2 Remove Somfy integration (#73527)
* Remove somfy

* Remove somfy
2022-06-15 12:18:15 +02:00
Franck Nijhof 05d7d31dfd Improve Elgato error handling (#73444) 2022-06-15 12:12:07 +02:00
J. Nick Koston 16dd70ba99 Switch to a dataclass for lutron_caseta entry data (#73500) 2022-06-14 20:32:38 -10:00
J. Nick Koston 1e956bc52f Reduce bond startup time (#73506) 2022-06-14 20:30:59 -10:00
Erik Montnemery 23fa19b75a Support restoring NumberEntity native_value (#73475) 2022-06-14 10:56:27 -07:00
J. Nick Koston 9b157f974d Reduce overhead to refire events from async_track_point_in_utc_time when an asyncio timer fires early (#73295)
* Reduce overhead to refire events

- asyncio timers can fire early for a varity of reasons including
  poor clock resolution and performance. To solve this problem
  we re-arm async_track_point_in_utc_time and try again later
  when this happens.

- On some platforms this means the async_track_point_in_utc_time can
  end up trying many times to prevent firing the timer early since as
  soon as it rearms it fires again and this repeats until we reach
  the appointed time. While there is not much we can do to prevent
  asyncio from firing the timer callback early, we can reduce the
  overhead when this happens by using avoiding creating datetime
  objects

* tweak mocking

* -vvv

* fix time freeze being too broad in litterrobot

* adjust
2022-06-14 07:46:00 -10:00
Allen Porter 0b7a030bd4 Fix fan support in nest, removing FAN_ONLY which isn't supported (#73422)
* Fix fan support in nest, removing FAN_ONLY which isn't supported

* Revert change to make supported features dynamic
2022-06-14 06:19:22 -07:00
Erik Montnemery 3da3503673 Add temperature unit conversion support to NumberEntity (#73233)
* Add temperature unit conversion to number

* Remove type enforcements

* Lint

* Fix legacy unit_of_measurement

* Address review comments

* Fix unit_of_measurement, improve test coverage
2022-06-14 09:40:57 +02:00
e3b6c7a66f Add Home Assistant Yellow integration (#73272)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-06-13 23:25:11 -07:00
51b4d15c8c Speed up mqtt tests (#73423)
Co-authored-by: jbouwh <jan@jbsoft.nl>
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
2022-06-13 10:17:10 -10:00
J. Nick Koston 034c0c0593 Improve YAML Dump times with C Dumper (#73424) 2022-06-13 13:14:30 -07:00
G Johansson c660fae8d8 Sensibo Add timer (#73072) 2022-06-13 09:17:08 -10:00
J. Nick Koston dca4d3cd61 Significantly improve yaml load times when the C loader is available (#73337) 2022-06-13 08:44:46 -10:00
Jan Bouwhuis 657e7f9a4c Simplify MQTT test for setup manual mqtt item from yaml (#72916)
simplify test setup manual mqtt item from yaml
2022-06-13 13:44:12 +02:00
Jan Bouwhuis 48e3d68b53 Clean up MQTT platform entry setup at discovery (#72371)
* Setup MQTT discovery with entry setup

* Wait for entry setup in test

* flake
2022-06-13 13:38:53 +02:00
Dave TandDave T b261f0fb41 Use more specific exception and simplify aurora_abb_powerone (#73338)
* Use more specific exception for comms timeout

* Remove defered uniqueid assigner now yaml has gone

Co-authored-by: Dave T <davet2001@users.noreply.github.com>
2022-06-13 09:36:46 +02:00
J. Nick Koston ad9e1fe166 Fix reload race in yeelight when updating the ip address (#73390) 2022-06-12 20:29:44 -07:00
Brandon Rothweiler f85409b2ea Remove deprecated services from Mazda integration (#73403) 2022-06-12 20:18:48 -07:00
J. Nick Koston 9159db4b4a Only update unifiprotect ips from discovery when the console is offline (#73411) 2022-06-12 20:04:17 -07:00
Marcio Granzotto Rodrigues 5854dfa84f Fix smart by bond detection with v3 firmware (#73414) 2022-06-12 15:27:18 -10:00
Raman GuptaandJ. Nick Koston dc48791864 Add config flow to eight_sleep (#71095)
* Add config flow to eight_sleep

* simplify tests

* Remove extra file

* remove unused import

* fix redundant code

* Update homeassistant/components/eight_sleep/__init__.py

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

* incorporate feedback

* Review comments

* remove typing from tests

* Fix based on changes

* Fix requirements

* Remove stale comment

* Fix tests

* Reverse the flow and force the config entry to reconnect

* Review comments

* Abort if import flow fails

* Split import and user logic

* Fix error

Co-authored-by: J. Nick Koston <nick@koston.org>
2022-06-11 02:16:46 -04:00
Raman Gupta 63b51f566d Fix zwave_js add node schemas (#73343)
* Fix zwave_js add node schemas

* Code cleanup

* Add test
2022-06-11 02:13:50 -04:00
uvjustin b1f2e5f897 Use create_stream in generic camera config flow (#73237)
* Use create_stream in generic camera config flow
2022-06-11 15:38:43 +10:00
Nathan Spencer 21cfbe875e Remove logic to mark litterrobot vacuum entity as unavailable (#73234) 2022-06-11 00:16:47 +03:00