Commit Graph
36823 Commits
Author SHA1 Message Date
Shay LevyandGitHub ab73ce00a0 Change "Not adding entity" log level to debug (#52240) 2021-06-28 11:22:10 +02:00
BrettandGitHub 486e94e6a5 Add "auto" HVAC mode to Advantage Air (#51693)
* Add support for myAuto

* Small bug fixes for myAutoModeEnabled

* Add myauto to test fixture

* Refactor hvac_modes using AC_HVAC_MODES
2021-06-28 11:21:25 +02:00
myhomeiotandGitHub 922b195ebf Add hvac_action to Daikin AC (#52035) 2021-06-28 11:10:53 +02:00
Chris TalkingtonandGitHub e4fc76ac2c Add re-authentication support to cloudflare (#51787) 2021-06-28 10:48:18 +02:00
Chris TalkingtonandGitHub bfc2995cf8 Update cloudflare test helpers (#52235) 2021-06-28 10:40:51 +02:00
Erik MontnemeryandGitHub e14480599b Add value_template support to MQTT number (#52155) 2021-06-28 10:23:34 +02:00
3d556f14a5 Remove air_quality platform from Airly integration (#52225)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-06-28 10:15:56 +02:00
Brian TowlesandGitHub 9c84c2889f Modern forms switch platform (#52061)
* Add switch platform to Modern Forms integration

* Add reboot switch

* Update  lib to catch status from switches

* lint ignore

* Removed reboot switch

* bump aiomodernforms for dependency cleanup
2021-06-28 09:47:41 +02:00
Raman GuptaandGitHub bef8be9256 Support dynamic schema validation in device conditions and actions (#52007)
* Allow integrations to provide dynamic schema validation in device conditions and actions

* Add tests

* re-add type

* mypy
2021-06-28 09:23:46 +02:00
Christopher MastoandGitHub 5d3f3c756f Fix Fahrenheit to Celsius conversion in Prometheus exporter (#52212)
const.TEMP_FAHRENHEIT is "°F", but _unit_string converts this to "c",
so the comparison never succeeds and we end up with temperatures in F
but labeled C.
2021-06-28 09:19:49 +02:00
GitHub Action 5c5e43afc1 [ci skip] Translation update 2021-06-28 00:10:15 +00:00
Chris TalkingtonandGitHub 8b47faa840 Remove undo listener variable in cloudflare (#52227)
* remove undo listener variable in cloudflare

* Update const.py

* Update __init__.py

* Update __init__.py
2021-06-27 15:58:49 -05:00
Joakim PlateandGitHub 0d689eefd6 Make Philips TV notify service optional (#50691)
* Make event service optional

* Correct strings for rename

* Drop unload we are just testing config flow here
2021-06-27 22:57:08 +02:00
puddlyandGitHub c404a196c2 Allow creating ZHA groups with specific IDs (#50781) 2021-06-27 15:21:15 -04:00
bd399d17a7 Add support for 4th fan speed in izone A/C systems (#51969)
* Add TOP fan speed

My a/c is 4 speed and the top speed is reported as top or boost. 

i.e it supports: low med high boost auto

* add support for top fan speed

Aircons with 4 fan speeds. i.e low, med, high, top/boost

* Update manifest.json

Bump version to 1.1.5

* Update climate.py

* Bump Izone to 1.1.5

* Update climate.py

* fix isort failure

* Use v1.1.6

Co-authored-by: Penny Wood <Swamp-Ig@users.noreply.github.com>
Co-authored-by: Swamp-Ig <github@ninjateaparty.com>
2021-06-27 21:13:26 +02:00
ollo69andGitHub e6e39a67f4 AsusWRT code improvements for sensors and related tests (#51822)
* Sensors implementation and tests improvements

* Remove check for unexpected condition
2021-06-27 15:09:03 -04:00
e56069558a Refactor wallbox tests (#51094)
* Changed Testing, removed custom exception
Removed custom exceptions, reverted to builtin. Changed testing approach in all tests, now using the core interface to setup device and mock_requests to create test responses for all calls.

* Reintroduce InvalidAuth exception in __init__
Remove reference to internal HA exception, Reintroduce custom exception

* Removed duplicate entry in test_config_flow

* removed tests from test_init that calling methods directly

* Update tests/components/wallbox/__init__.py

Removed duplicate add_to_hass call

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-06-27 15:06:25 -04:00
2d1744c573 Add forecasts to MetOffice integration (#50876)
* MetOfficeData now retrieves both 3-hourly and daily data (full forecast data, as well as "now" snapshot) on each update

* Bump datapoint API up to latest version

* Create 2 sets of sensors - one of each set for 3-hourly and for daily data (same ones initially enabled, for now)

* Create two entities (one each for 3-hourly and daily data) and also add in the forecast data for each dataset

* Testing changes to accommodate now having two sets of everything for 3-hourly and daily update data

* Removed unused import (reported by flake8)

* As per conversation with @MatthewFlamm leave the 3-hourly entity's unique_id unchanged (although the display name is changed)

* Make some improvements based on reviews

Make some improvements and fix up the formatting/linting failures.

* Make some improvements based on reviews

Make some improvements and fix up the formatting/linting failures.

* Added more test coverage

* import asyncio

* Try to fix test

* Rewrote everything using CoordinatorEntity

* Fixed config flow

* Fixed lint errors

Co-authored-by: MrHarcombe <ian.harcombe@gmail.com>
Co-authored-by: Henco Appel <hencoappel+github@gmail.com>
2021-06-27 15:04:42 -04:00
Raman GuptaandGitHub 23339cff95 Add new climacell sensors (#52079)
* Add new climacell sensors

* lint

* add new unit constants
2021-06-27 15:03:20 -04:00
Erik MontnemeryandGitHub 74aa428bd1 Implement color_mode support for ozw (#52063) 2021-06-27 15:00:27 -04:00
da1d6d3821 Add service to reset SmartTub reminders (#51824)
* Add service to reset SmartTub reminders

* add test

Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-06-27 20:59:11 +02:00
a5362542ad Bulgarian language added in Google Translate TTS (#51985)
* Added Bulgarian language

Bulgarian language is supported by Google Translate TTS and by gTTS library. Tested all lockally and it works perfect.
https://github.com/pndurette/gTTS

* Bulgarian language added in v2.2.3

* Run script.gen_requirements_all

Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-06-27 20:55:36 +02:00
J. Nick KostonandGitHub a10847bef3 Fix isy994 fan when turn on is not called with a percentage (#49531)
* Fix isy994 fan when turn on is not called with a percentage

* Make insteon/fan.py logic
2021-06-27 20:35:58 +02:00
Martin HjelmareandGitHub 120fd633b2 Add mysensors sensor platform test foundation (#51548) 2021-06-27 20:33:20 +02:00
Lasath FernandoandGitHub 543e1a0f9c Make PjLink power toggle more robust (#51821)
Occasionally, this integration misses events (or maybe they never get sent) from the projector and gets "stuck" in the wrong power state.
Currently, this prevents this integration from changing the power state as it thinks its already in the correct state. Only way to resolve this is to reboot home assistant.

This PR makes it a little more resilient by attempting to send the correct command even when it thinks it's already in the correct state.
2021-06-27 20:30:49 +02:00
Niels MündlerandGitHub aececdfeb9 Update pyfronius to 0.5.2 (#52216)
* Update the pyfronius package to version 0.5.2

this automatically introduces support for API V0 of fronius devices

* Update requirements
2021-06-27 12:43:31 -05:00
Joakim PlateandGitHub eedf1c3ebe Reject requests from the proxy itself (#52073)
* Reject requests from the proxy itself

* Adjust tests
2021-06-27 19:02:51 +02:00
ryansun96andGitHub dafddce446 Update base image to 2021.06.2 (#52190) 2021-06-27 18:59:27 +02:00
Matt ZimmermanandGitHub fad7e43c4f Add state attribute to SmartTub reminders for days remaining (#51825) 2021-06-27 18:39:40 +02:00
Milan MeulemansandGitHub a9bd7da79d Remove Rituals room size number entity (#52200) 2021-06-27 18:38:07 +02:00
Matthias AlphartandGitHub 253310aaa4 Add respond_to_read option to KNX switch (#51790) 2021-06-27 18:34:41 +02:00
Matthias AlphartandGitHub 89cdda9fe6 Add idle hvac_action to KNX climate (#52006)
* add idle hvac_action and command_value extra_state_attribute

* use class attribute for unit
2021-06-27 18:31:07 +02:00
a788b6ebc1 Clean up surepetcare binary sensor (#52217)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-06-27 17:27:33 +02:00
Daniel Hjelseth HøyerandGitHub a824313e9f Clean up Surepetcare sensor (#52219)
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-06-27 17:25:54 +02:00
Franck NijhofandGitHub 3f49cdf9bf DSMR: Use entry unload to unsub update listener (#52220) 2021-06-27 16:58:08 +02:00
Franck NijhofandGitHub 75d29b3d9e Upgrade watchdog to 2.1.3 (#52224) 2021-06-27 16:57:30 +02:00
Daniel Hjelseth HøyerandGitHub f1b5183e47 Tibber power factor (#52223) 2021-06-27 16:49:22 +02:00
Milan MeulemansandGitHub 0d6e73236a Upgrade pyrituals 0.0.3 -> 0.0.4 (#52209) 2021-06-27 14:53:55 +02:00
6b08aebe5f Add Forecast Solar integration (#52158)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-06-27 14:05:04 +02:00
GitHub Action 473ab98a67 [ci skip] Translation update 2021-06-27 00:09:39 +00:00
Daniel Hjelseth HøyerandGitHub b45c8466b4 Surepetcare, Use entity class vars and some clean up (#52205) 2021-06-26 15:40:40 -07:00
Pavel PletenevandGitHub db2fda09b9 Fix habitica regression (#52097) 2021-06-26 15:36:45 -07:00
Milan MeulemansandGitHub 4c7934de46 Clean up strings.json (#52202)
* Remove empty error in arcam_fmj

* Remove empty data in directv

* Remove empty error and data in kraken

* Remove empty data in roku
2021-06-26 20:36:13 +02:00
jan iversenandGitHub c558c77413 Correct keyerror exception. (#52150) 2021-06-26 20:09:53 +02:00
5687ced7b3 Cleanup KNX integration (#52168)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-06-26 14:30:36 +02:00
Joakim SørensenandGitHub b7c15d4474 Fix deprecation warning in discord notifier (#52197) 2021-06-26 07:12:10 -04:00
Shay LevyandGitHub 568e1b379d Address late review of Switcher sensor migration (#52186) 2021-06-26 07:30:47 +02:00
GitHub Action cd9fa27f2a [ci skip] Translation update 2021-06-26 00:10:53 +00:00
8d8af60b1d Add retries for tplink discovery (#52015)
* Add retries for tplink discovery

* Black Format tplink common.py

* Exit tplink discovery early if all devices found

* Fix typo in tplink retry log msg

* Code style cleanup for tplink retries

* Update homeassistant/components/tplink/common.py

Co-authored-by: Teemu R. <tpr@iki.fi>

* Fix linting errors for tplink retries

Co-authored-by: Teemu R. <tpr@iki.fi>
2021-06-25 23:49:35 +02:00
Daniel Hjelseth HøyerandGitHub 4abdeec36d Use entity class vars in Broadlink (#52177) 2021-06-25 11:31:17 -10:00