Commit Graph
7942 Commits
Author SHA1 Message Date
Franck Nijhof fca0446ff8 Add pollen sensors to Ambee (#51702) 2021-06-10 14:18:09 +02:00
Erik Montnemery d9110b5208 Improve editing of device triggers referencing non-added binary sensors (#51700) 2021-06-10 13:06:01 +02:00
Erik Montnemery c1bc99890d Improve editing of device triggers referencing non-added cover (#51703) 2021-06-10 12:46:28 +02:00
Robert Svensson b1022ce84e Use supported color modes in deCONZ integration (#51656)
* Initial commit everything is working, need to reevaluate tests

* Fix supported color modes and hs_color

* Attest color mode
2021-06-10 08:51:58 +02:00
Franck Nijhof e5c6ac5ba8 Add 100% test coverage to Ambee integration (#51670)
* Add 100% test coverage to Ambee integration

* Add tests for device and entity registry
2021-06-09 20:23:16 +02:00
Franck Nijhof 332c86ff8c Restructure WLED integration (#51667) 2021-06-09 20:15:46 +02:00
Franck NijhofandErik Montnemery a6a34c76f7 Add color mode support to WLED (#51648)
* Add color mode support to WLED

* Update homeassistant/components/wled/light.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Update homeassistant/components/wled/light.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Update homeassistant/components/wled/light.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Update homeassistant/components/wled/light.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* black

* property, property

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-06-09 13:31:31 +02:00
Franck Nijhof d021e593d3 Add Ambee integration (#51645) 2021-06-09 13:22:37 +02:00
Erik Montnemery 87813ea991 Tweak light.valid_supported_color_modes (#51659) 2021-06-09 12:53:08 +02:00
Erik Montnemery 443463e19d Emulate color_temp for lights which support color or white (#51654)
* Emulate color_temp for lights which support color or white

* Support legacy lights

* Tidy up group.light code

* Improve color_temp to white conversion

* Remove color_temp to white conversion

* Add test

* Tweak deconz test
2021-06-09 11:23:01 +02:00
Erik Montnemery a1e3283f8f Improve editing of device automations referencing non-added sensors (#51312) 2021-06-08 23:28:08 -07:00
J. Nick Koston d56bd61b93 Populate upnp devices from ssdp (#51221)
* Populate upnp devices from ssdp

* Update tests since data comes in via HASS format now

* pylint
2021-06-08 22:32:06 +02:00
Martin Hjelmare 2eb6f16a94 Fix mysensors awesomeversion strategy usage (#51627)
* Update awesomeversion strategy use in mysensors

* Remove default version
2021-06-08 20:24:54 +02:00
Erik Montnemery 67f3e717a8 Add support for color_mode white to tasmota light (#51608) 2021-06-08 17:43:04 +02:00
Martin Hjelmare 6de604a326 Fix mysensors tests typing (#51621) 2021-06-08 14:28:36 +02:00
Nick Whyte 3fa6c97801 Address late review of nsw fuel station (#51619) 2021-06-08 14:26:43 +02:00
Erik Montnemery a4587b5f3b Deprecate support for undocumented value_template in MQTT light (#51589) 2021-06-08 08:23:51 +02:00
Brian Towles 01d4140177 Modern Forms integration initial pass - Fan (#51317)
* Modern Forms integration initial pass

* cleanup of typing and nits

* Stripped PR down to Fan only

* Review cleanup

* Set sleep_time to be required for service

* Adjust minimum sleep time to one minute.

* Code review changes

* cleanup icon init a little
2021-06-08 08:22:50 +02:00
Martin Hjelmare 6c2e452e3d Fix kraken I/O and sleep in tests (#51599) 2021-06-08 03:11:17 +02:00
jjlawren e257dd4d07 Fix Sonos battery sensors on S1 firmware (#51585) 2021-06-08 00:29:17 +02:00
Clifford Roche bc30920824 Correctly support use of Farenheit in Gree Climate component (#50260) 2021-06-08 00:21:03 +02:00
Erik Montnemery 3db21b407a Add support for color_mode white to demo light (#51575)
* Add support for color_mode white to demo light

* Fix unique_id for newly added light

* Update tests
2021-06-07 20:26:25 +02:00
J. Nick KostonandPaulus Schoutsen a3146ad150 Fix loop in tod binary sensor (#51491)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-06-07 11:21:10 -07:00
Malte Franken fcb8ab23ab Improve log message when zone missing in geolocation trigger (#51522)
* log warning message if zone cannot be found

* improve log message

* add test case
2021-06-06 20:03:56 +02:00
Erik Montnemery e560e623e9 Add color_mode white (#51411)
* Add color_mode white

* Include brightness in white parameter

* Reformat

* Improve test coverage
2021-06-06 11:13:18 +02:00
jan iversen 59b5f94569 Add fix delay after send/request to allow RS485 adapter to switch in modbus (#51417) 2021-06-05 14:41:32 +02:00
b8afb7dcfe Check initial connect() worked in modbus (#51470)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-06-05 14:39:09 +02:00
J. Nick KostonandMartin Hjelmare 12ac4109f4 Ensure ssdp can callback messages that do not have an ST (#51436)
* Ensure ssdp can callback messages that do not have an ST

Sonos sends unsolicited messages when the device reboots. We want
to capture these to ensure we can recover the subscriptions as soon
as the device reboots

* Update homeassistant/components/ssdp/__init__.py

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-06-05 09:23:51 +02:00
J. Nick Koston 0cd0733438 Remove empty tests for ping now that the code in icmplib is used (#51454) 2021-06-05 01:20:41 +03:00
Franck Nijhof 05241a7a68 Allow number/sensor entities in numeric state conditions/triggers (#51439) 2021-06-04 18:14:48 +02:00
jan iversenandFranck Nijhof 5e067c2631 Allow unlimited scan_interval in modbus (#51471)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-06-04 18:06:44 +02:00
J. Nick Koston c1111afef8 Allow registering a callback to ssdp that matches any key value (#51382) 2021-06-03 08:26:37 -10:00
Raman Gupta ba6a0b5793 Fix no value error for heatit climate entities (#51392) 2021-06-02 21:07:47 -07:00
Jan Bouwhuis 2222a121f4 Add support for fan speed percentage and preset modes to google_assistant integration (#50283)
* support relative fan speeds

* fan preset modes

* improve tests

* Revert relative speed code report zero percentage
2021-06-02 22:09:22 +02:00
definitio 132ee972bd Add media_player.group (#38855)
* Add media group

* Minor improvements

* Use the async api for all methods

* Improve type hints

* Add missing methods

* Add tests

* Rename HomeAssistantType —> HomeAssistant

* Add more tests

* Fix unknown state

* Make some callbacks

* Add more tests

* Fix unknown state properly

* Fix names for callbacks

* Fix stop service test

* Improve tests
2021-06-02 21:25:15 +02:00
Dermot DuffyandPaulus Schoutsen c057c9d9ab Add Hyperion camera feed (#46516)
* Initial Hyperion camera.

* Improve test coverage.

* Minor state fixes.

* Fix type annotation.

* May rebase and updates (mostly typing).

* Updates to use new camera typing improvements.

* Use new support for returning None from async_get_mjpeg_stream .

* Codereview feedback.

* Lint: Use AsyncGenerator from collections.abc .

* Update homeassistant/components/hyperion/camera.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-06-02 09:39:19 -07:00
J. Nick Koston 68714c2067 Update ping to use asyncio function in icmplib (#50808) 2021-06-02 06:10:33 -10:00
Guido SchmitzandMarkus Bong 3de29a7606 Add binary_sensor tests for devolo Home Control (#49843)
Co-authored-by: Markus Bong <Markus.Bong@devolo.de>
2021-06-02 13:59:35 +02:00
Erik Montnemery 1d9d9021de Do not attempt to unload non loaded config entries (#51356) 2021-06-02 10:00:24 +02:00
jan iversen 10dccc6734 Move pymodbus test fixtures to test_init (#51244) 2021-06-02 00:00:44 +02:00
Paulus Schoutsen ee2c950716 Merge system options into pref properties (#51347)
* Make system options future proof

* Update tests

* Add types
2021-06-01 22:34:31 +02:00
Franck Nijhof cdd1f6b2f0 Always load middle to handle forwarded proxy data (#51332) 2021-06-01 09:38:55 -07:00
Joakim Sørensen fb281c6bde Add arch to payload (#51330) 2021-06-01 15:09:23 +02:00
Daniel Rheinbay 3c452f8c9b Refactor yeelight integration to use only flows (#51255)
* Refactor light.py to use only flows.py, eliminating transitions.py

* Reformat yeelight source code using black
2021-06-01 09:04:49 +02:00
Paulus Schoutsen f472219c68 Set up cloud semi-dependencies at start (#51313) 2021-06-01 01:35:31 +02:00
Paulus Schoutsen 4821484d2c Add system option to disable polling (#51299) 2021-05-31 15:36:40 -07:00
Ron Klinkien a0b3d0863b Fix Garmin Connect integration with python-garminconnect-aio (#50865) 2021-05-31 14:38:33 -07:00
Jan Bouwhuis 7403ba1e81 Alexa fan preset_mode support (#50466)
* fan preset_modes

* process preset mode updates from alexa correctly

* add tests

* codecov patch additional tests
2021-05-31 20:58:01 +02:00
J. Nick Koston 0e7c2cddf7 Upgrade HAP-python to 3.5.0 (#51261)
* Upgrade HAP-python to 3.4.2

- Fixes for malformed event sending

- Performance improvements

* Bump

* update tests to point to async
2021-05-31 20:47:12 +02:00
Maciej Bieniek c9178e58b5 Add support for state class for Airly sensor (#51285) 2021-05-31 16:00:58 +02:00