1
0
mirror of https://github.com/home-assistant/core.git synced 2026-02-24 03:47:14 +00:00
Commit Graph

9615 Commits

Author SHA1 Message Date
Raman Gupta
9e4e43cf77 Handle zwave_js metadata/value updates when the unit changes (#63579)
* Handle zwave_js metadata updates when the unit changes

* Use value updated event instead of metadata updated event so we don't get an invalid state value

* update comments and formatting

* simplify

* Update tests/components/zwave_js/test_sensor.py

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

* Update tests/components/zwave_js/test_sensor.py

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

* Update tests/components/zwave_js/test_sensor.py

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

* fix tests

* add additional assertions

* Add unit checks and simplify logic

* Add unit assertion

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-08 13:23:29 +01:00
Simon Hansen
b22a9b8669 Refactor Launch Library to use config flow (#62416)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
2022-01-08 11:47:16 +01:00
J. Nick Koston
943aaaeb3f Add SenseME integration (#62909)
Co-authored-by: Big Mike <mikelawrence@users.noreply.github.com>
2022-01-07 22:53:05 -10:00
J. Nick Koston
509ddc84a5 Add support for managing 2.4G remotes in flux_led (#63646) 2022-01-07 21:26:10 -10:00
J. Nick Koston
ba402237c2 Add temp and minutes remaining sensors to steamist (#63653) 2022-01-07 21:02:12 -10:00
J. Nick Koston
9dd09f66e2 Ensure selected entity is pre-selected in homekit options flow (#63628)
* Ensure selected entity is pre-selected in homekit options flow

- We recently adjusted the flow to exclude entities that had
  been deleted from breaking the UI validation. We need to include
  single entities in the set of all supported entities since
  accessory mode has no domain filter

* tweak

* Additional fixes

* small tweak to speed up building the set

* merged fixed version for test branch
2022-01-07 17:46:39 -08:00
J. Nick Koston
945477a482 Fix KeyError during call to homekit.unpair (#63627) 2022-01-07 19:47:14 +01:00
Paulus Schoutsen
1ea3a17d89 Allow sending webhooks via WS connection (#62725) 2022-01-07 10:41:36 -08:00
Franck Nijhof
3f7275a9c7 Give scenes last activated state (#62673) 2022-01-07 19:02:32 +01:00
Diogo Gomes
d5d8eefded Case sensitive SQL queries checks (#62752) 2022-01-07 17:19:30 +01:00
Matt Zimmerman
ae3ff0a8ce Skip empty test directories in gen_requirements_all (#62970) 2022-01-07 16:45:27 +01:00
Allen Porter
4203e1b064 Delete nest event image fetching and use same APIs as media player (#62789) 2022-01-07 16:37:54 +01:00
G Johansson
91900f8e4e Add yale_smart_alarm config options flow (#54097) 2022-01-07 16:32:49 +01:00
G Johansson
e7ef317b43 Bump yalesmartalarmclient to v0.3.7 (#63596) 2022-01-07 15:15:23 +01:00
Michael
9deebaa65f Move lock and devicelock attributes into sensors for all AVM Fritz!Smarthome entities (#60426) 2022-01-07 14:46:17 +01:00
Erik Montnemery
09986436a1 Make idle chromecasts appear as idle instead of off (#61786) 2022-01-07 14:19:41 +01:00
Steven Looman
9bf1397c54 Fix upnp device not being reinitialized after device changes location (#63133) 2022-01-07 14:10:11 +01:00
J. Nick Koston
e222e1b6f0 Add device configuration entities to flux_led (#62786)
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2022-01-06 21:02:19 -10:00
J. Nick Koston
ad68d0795e Fix missing device name with legacy flux_led discovery (#62785) 2022-01-06 19:43:22 -10:00
Christopher Bailey
3e2495f417 Isolate consts better to where they are used (#63569) 2022-01-06 11:57:56 -10:00
epenet
442690b885 Rewrite vultr unittest to pytest (#63367)
* Rewrite vultr unittest to pytest

* Fix tests

* Fix annotations

* Don't check setup_platform return value

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-06 21:44:53 +01:00
Christopher Bailey
812cb4a9d8 UniFi Protect test sensor followup (#63563) 2022-01-06 19:31:25 +01:00
Jonathan Keljo
41625f7410 Bump greeneye_monitor to v3.0.1 (#63531) 2022-01-06 14:59:56 +01:00
Paulus Schoutsen
7872f87dd7 Allow registering a webhook as local only (#63516) 2022-01-05 23:45:02 -08:00
J. Nick Koston
4283b2358c Add support for Steamist steam showers (#63251)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-01-06 02:55:57 +01:00
Christopher Bailey
7d442122c0 Add UniFi Protect sensor platform (#63524)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-01-05 15:47:47 -10:00
Allen Porter
da71e89f53 Add tests that exercise nest dhcp discovery behavior (#62526)
* Add tests that exercise nest dhcp discovery

Add tests that exercise the behavior of dhcp discovery for nest,
which is effectively that it doesn't work -- it only works when
you have already added a configuration.yaml.

Discovery can be made to work by using an entirely config flow
driven approach, which is in discussion.

* Adjust whitespace from merge
2022-01-05 17:35:55 -08:00
Eric Severance
7eacabf684 Share common EntityTestHelpers in wemo tests (#62455) 2022-01-05 17:22:38 -08:00
Christopher Bailey
4e56217b89 Add UniFi Protect binary_sensor platform (#63489)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-01-05 11:59:21 -10:00
rhpijnacker
32c416b646 Bump dsmr-parser dependency to 0.32 (#63436) 2022-01-05 22:50:00 +01:00
Hans Oischinger
2969a7ab4f Address late review of vicare config flow (#63343)
* Review comments from #56691

* Adapt to review suggestions

* Update homeassistant/components/vicare/strings.json

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-05 22:49:42 +01:00
jjlawren
10195dc700 Improve server selection for Plex config flows (#63408) 2022-01-05 22:20:33 +01:00
Nico Müller
cf1df5ff38 Add 'fire_event' command to websocket api (#63378)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-01-05 12:28:40 -08:00
Loek Sangers
25fe213f22 Enable local fulfillment google assistant (#63218)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-01-05 12:09:59 -08:00
Christopher Bailey
d0d5222bf4 UniFi Protect test refactoring (#63486)
* UniFi Protect test refactoring

* More pylint fixes

* Use load_fixture helper

* yield to return where able
2022-01-05 19:29:59 +01:00
Tom Hennigan
ce138dd30e Add unique id to flic buttons (#61496)
* Use bluetooth address as unique id for flic buttons.

* Always lower case address for uid and add tests.

* Update test to set up component.

* Use format_mac(addr) as unique id.

* Only patch pyflic objects and use query entity registry for buttons.

* Replace ExitStack with patch.multiple, remove assert_setup_component.

* Test binary sensor is present in state machine.
2022-01-05 17:51:01 +01:00
Allen Porter
d6c8f3965a Improve nest camera failure handling on removal (#63207) 2022-01-05 16:17:51 +01:00
Simone Chemelli
969930b9c9 Remove debug print (#63460) 2022-01-05 15:34:33 +01:00
Erik Montnemery
75f8e031df Add support for curtain device class to google assistant (#63380) 2022-01-05 15:01:58 +01:00
Mike Degatano
c1967abfca Bump influxdb-client dependency to 1.24.0 (#63397) 2022-01-05 12:45:41 +01:00
Chris Talkington
213b1bf684 Add MAC to Roku device (#63422) 2022-01-05 12:18:52 +01:00
Erik Montnemery
c60bb1890d Remove unused group config view (#63434) 2022-01-05 12:16:11 +01:00
Franck Nijhof
ed791aa854 Add sensor tests to PVOutput (#63400) 2022-01-05 11:15:18 +01:00
Daniel Hjelseth Høyer
ba1b09a3a5 Add external Tibber statistics (#62249)
* Tibber, add external statistics

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

* Tibber, add external statistics

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

* Tibber ext stats

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

* Add tests

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

* name

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2022-01-05 09:33:12 +01:00
Paulus Schoutsen
2b4bb49eb7 Make device tracker entities work better (#63328)
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-04 23:16:43 -08:00
Marcel van der Veldt
f999266c9a Add additional service to set advanced Hue scene options (#63035) 2022-01-04 21:39:08 -08:00
J. Nick Koston
e6e200f3c1 Handle no enabled ipv4 addresses in the network integration (#63416) 2022-01-04 21:22:28 -08:00
Allen Porter
224f960050 Set the nest configuration title to a user friendly name (#62886)
* Set the nest configuration title to a user friendly name

Set the config entry title name to be the name of the Google Home or
Nest Home that was authorized. In case more than one home was authorized,
they are all listed since they are all accessed over a single shared
home.

* Fix pylint errors

* Resolve pylint errors
2022-01-04 19:23:20 -08:00
mletenay
f0acbabd48 Add Goodwe solar inverter integration (#58503)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: starkillerOG <starkiller.og@gmail.com>
2022-01-04 22:19:31 +01:00
Franck Nijhof
919aa95f97 Improve test coverage for PVOutput (#63048) 2022-01-04 20:20:39 +01:00