Commit Graph
34074 Commits
Author SHA1 Message Date
Robert SvenssonandGitHub 2ab640aaef Use websocket fixture in deCONZ climate tests (#47821)
Localize test data
Improve asserts
2021-03-18 09:57:27 +01:00
J. Nick KostonandGitHub fea0e39fa0 Reduce rest setup code (#48062)
- Switch to storing each platform config/rest data in a list
2021-03-18 09:55:38 +01:00
Robert SvenssonandGitHub 333f5da036 Use websocket fixture in deCONZ binary sensor tests (#47820)
Localize test data
Improve asserts
2021-03-18 09:51:42 +01:00
Marc MuellerandGitHub 5cdd945f44 Update typing 08 (#48058) 2021-03-18 09:25:40 +01:00
Marc MuellerandGitHub 9e1a6610dc Update typing 07 (#48057) 2021-03-18 08:02:55 +01:00
J. Nick KostonandGitHub 08db262972 Add a service to reload config entries that can easily be called though automations (#46762) 2021-03-17 21:27:21 -07:00
6fb0e49335 Upgraded aiopylgtv to v0.4.0 (#47014)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-03-17 20:59:48 -07:00
Tobias HaberandGitHub f785cc7d9a Google has deprecated a comma separated list for modes changed it to array (#48029) 2021-03-17 20:59:06 -07:00
HomeAssistant Azure f625e324dd [ci skip] Translation update 2021-03-18 00:07:07 +00:00
Marc MuellerandGitHub 91df3fa904 Update typing 06 (#48039) 2021-03-17 23:49:01 +01:00
Marc MuellerandGitHub 7c0734bdd5 Update typing 05 (#48038) 2021-03-17 23:43:55 +01:00
Marc MuellerandGitHub 76199c0eb2 Update typing 04 (#48037) 2021-03-17 23:34:25 +01:00
Guillermo RuffinoandGitHub 02619ca2cd Add service schema for ESPHome api services (#47426) 2021-03-17 22:50:21 +01:00
J. Nick KostonandGitHub dd56cc8010 Fix rest sensor data misalignment with multiple sensors (#48043)
If there were multiple rest data sources, the index needed
to be incremented by type instead of by data source/type
2021-03-17 22:47:42 +01:00
Marc MuellerandGitHub fabd73f08b Update typing 03 (#48015) 2021-03-17 21:46:07 +01:00
Marc MuellerandGitHub 6fb2e63e49 Update typing 02 (#48014) 2021-03-17 18:34:19 +01:00
Hans KrönerandGitHub 86d3baa34e Improve OWM Precipitation sensors (#47945) 2021-03-17 17:39:47 +01:00
Marc MuellerandGitHub e55702d635 Update typing 01 (#48013) 2021-03-17 17:34:55 +01:00
9011a54e7f Switch history tests to pytest (#42318)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-03-17 15:32:44 +01:00
schiermiandGitHub 6a24ec7a30 Fix workday sensor to honor timezone (#47927) 2021-03-17 15:32:18 +01:00
Marc MuellerandGitHub a1ff45cbf2 Update metadata license string (#46899) 2021-03-17 14:32:13 +01:00
sycx2andGitHub 009e44ed9b Rewrite tests for Template Light (#41163) 2021-03-17 11:30:44 +01:00
Nathan TilleyandGitHub 6f7f4955a3 Add Logger Check Before Adding Another (#47954) 2021-03-17 11:11:39 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4f3b7f917f Bump codecov/codecov-action from v1.2.2 to v1.3.1 (#48020)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from v1.2.2 to v1.3.1.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v1.2.2...fcebab03f26c7530a22baa63f06b3e0515f0c7cd)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-17 09:52:17 +01:00
Jim EkmanandGitHub ecf93e09e8 Add support for percentage based fan model in esphome (#46712) 2021-03-17 08:50:34 +01:00
Nathan SpencerandGitHub bdc8a2878f Fix issue with setting sleep mode during DST (#48001) 2021-03-17 08:23:54 +01:00
Philip AllgaierandGitHub 470b0b8b87 Fix historic attributes for input_datetime (#45208) 2021-03-16 22:40:20 -07:00
HomeAssistant Azure 4306c8fbb4 [ci skip] Translation update 2021-03-17 00:03:55 +00:00
Paulus Schoutsen 529b23d8af Bump frontend to 20210316.0 2021-03-16 23:43:16 +00:00
d21d9951ba Add Pentair ScreenLogic integration (#47933)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-03-16 13:32:02 -10:00
J. Nick KostonandGitHub f605a3c149 Remove YAML support from August (#47615) 2021-03-16 13:22:07 -10:00
d49a436573 Delay ZHA group updates to ensure all members are updated first (#46861)
* Delay ZHA group updates to ensure all members are updated first

After turning off a group, when the first device reports "off", the
other devices may still be "on". If HA processes the group state update
quickly enough, the group will see that some devices are on, so the
state of the group will revert back to "on", and then "off" when the
remaining devices all report "off". That would cause the UI toggle to go
back and forward quickly, and automations that trigger with "state: on"
to fire when the user turns the group off.

This PR fixes that by delaying the group state update, giving time for
all the devices to report their states first.

* Fix zha group tests

* Reorder sleeping.

* Update tests/components/zha/common.py

Co-authored-by: Alexei Chetroi <lexoid@gmail.com>
2021-03-16 17:38:16 -04:00
Paulus SchoutsenandGitHub f1c274b3dd Add run_id to automation logbook event (#47980) 2021-03-16 14:37:26 -07:00
Matthias AlphartandGitHub a4075d9e11 KNX sensor: float no longer valid for type (#48005) 2021-03-16 21:33:56 +01:00
Joakim PlateandGitHub d39aa9f80b Bump philips_js with backported fixes (#47959) 2021-03-16 21:24:01 +01:00
Alan TseandGitHub f86e7535e0 Add location details to deprecation warning (#47155) 2021-03-16 21:16:07 +01:00
chpegoandGitHub f3c74948c3 Upgrade youtube_dl to version 2021.03.14 (#48000) 2021-03-16 21:02:05 +01:00
Kevin EifingerandGitHub 14d3e29e64 Add missing "pin" field in step "pair" for philips_js (#47802) 2021-03-16 20:56:49 +01:00
billsqandGitHub 55db855f91 Add support for Xiaomi Air Purifier Pro H (#47601) 2021-03-16 20:54:13 +01:00
Matt ZimmermanandGitHub 73c6728e98 Add binary_sensor entities for SmartTub reminders (#47583) 2021-03-16 17:38:09 +01:00
Alexei ChetroiandGitHub 6a66ccef1b Bump up ZHA dependencies (#47997) 2021-03-16 12:21:08 -04:00
Ron HeftandGitHub bbd98e196b Fix withings InvalidParamsException (#47975)
* Bump withings_api to 2.3.1 (fixes #47329)

* Fix NotifyAppli calls to be compatible with withings_api 2.3.1

* Fix errors with withings_api 2.2+ using pydantic

* Bump withings_api to 2.3.2
2021-03-16 17:15:22 +01:00
Klaas SchouteandGitHub 0097169dd3 Add aliases to actions in automation blueprints (#47940) 2021-03-16 17:14:07 +01:00
Erik MontnemeryandGitHub 389891d13d Improve JSONEncoder test coverage (#47935) 2021-03-16 17:12:51 +01:00
Matthias AlphartandGitHub 7ed9e5b2c2 Update xknx to 0.17.3 (#47996) 2021-03-16 16:43:11 +01:00
Franck NijhofandGitHub f695155af5 Add device classes to Verisure sensors (#47990) 2021-03-16 16:30:04 +01:00
Antoine MeilletandGitHub 4dc0cdbb5f Ignore STATE_UNKNOWN in prometheus (#47840)
Giving a value of 0 by default can lead to erroneous
data being exported. For example, if a MQTT temperature
sensor is in `STATE_UNKNOWN` (which can happen after a
HASS restart), a temperature of 0°C will be exported.
Some user might prefer no value rather than a wrong one.
2021-03-16 16:11:51 +01:00
David F. MulcaheyandGitHub 673ebe2911 Guard extra call in ZHA lights (#47832)
* add flag to prevent sending an on command

* fix condition

* add constant for default transition

* make groups work with new force on flag

* reorder light entity creation

* rearrange logic

* update test

* remove failed attempt at group light flag

* fix flag
2021-03-16 10:02:26 -04:00
Erik MontnemeryandGitHub 9647eeb2e0 Add custom JSONEncoder for automation traces (#47942)
* Add custom JSONEncoder for automation traces

* Add tests

* Update default case to include type

* Tweak

* Refactor

* Tweak

* Lint

* Update websocket_api.py
2021-03-16 14:21:05 +01:00
Erik MontnemeryandGitHub 5f2326fb57 Add support for light color modes (#47720)
* Add support for light color modes

* Update tests

* Update comments

* Fix bugs, add tests

* Suppress lint errors

* Don't suppress brightness when state is ambiguous

* Improve reproduce_state + add tests

* Add comment

* Change COLOR_MODE_* constants, rename COLOR_MODE_DIMMER to COLOR_MODE_BRIGHTNESS

* Fix tests

* Tweaks
2021-03-16 12:51:39 +01:00