Commit Graph

22196 Commits (6380ebd1ebd973b894dcc2ec4280a1be8fd8d93b)

Author SHA1 Message Date
Franck Nijhof 5dbb5f12eb
Upgrade sqlalchemy to 1.3.20 (#41765) 2020-10-13 08:43:58 -05:00
Jason Hunter 9877e8e25b
Add Xbox Integration (#41697)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-13 15:37:01 +02:00
J. Nick Koston 33b548e247
Reduce ORM overhead when the old state was already written to the database (#41736)
We can avoid processing the relationship when the old state was already
written to the database which will common case with a commit interval
of 1s. Since we already know the value for old_state_id we can use it
instead of asking sqlalchemy to process the relationship at flush/commit
time which can significantly speed up sqlalchemy's _emit_insert_statements
implementation.
2020-10-13 15:34:46 +02:00
Aidan Timson 52c93edb53
Add Palette to WLED Effect Service (#41724) 2020-10-13 14:12:01 +02:00
Rob Bierbooms c16f107f6b
Filter rfxtrx configure devices option flow on existing config entry (#40975)
* Prompt only configure devices when device is in config entry

* Fix copy
2020-10-13 13:51:42 +02:00
João Gabriel d1041efedf
Add device info to Panasonic Viera (#41028)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-13 13:14:59 +02:00
Robert Svensson 72289b8171
Add fan support to deCONZ (#40806)
* Add fan support to deconz

* Fix gateway test

* Fix lint issue

* Apply suggestions from code review

* Fix black

* Improve tests

* Store previously used speed in case turn_on service is called without a speed attribute

* Fix tests

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-13 12:57:42 +02:00
Sören Oldag 113a680c43
Bump pwmled to 1.5.3 (#41681) 2020-10-13 12:53:29 +02:00
Joakim Plate 11bbc14530
Pass context to on/off scripts (#40254) 2020-10-13 12:13:47 +02:00
Diogo Gomes c4148eb2c5
Add notify platform to TTS (#40028) 2020-10-13 11:52:51 +02:00
Tom Schneider 1d682bdc78
Bump pygti to 0.9.2 (#41571) 2020-10-13 10:31:42 +02:00
Fredrik Erlandsson 8bdc824b6c
Update pypoint to use async http requests (#41546)
* Remove domain after entities

* Add support for async http-requests

* Fix, handle network issues (update _is_available status)

* Fix missing await for alarm_arm

* Fix alarm status

* Update tests to async

* Bump pypoint version

* Fix doc string

* Apply suggestions from code review, remove pylint disable

* Fix black
2020-10-13 08:48:26 +02:00
Sören 32204821c1
Bump pynello to 2.0.3 (#41737)
* Bump pynello to 2.0.3

* Bump pynello to 2.0.3
2020-10-13 08:42:33 +02:00
Aaron Bach bb98f7ed1b
Add support for Elexa Guardian paired sensors (#37930)
* Add support for Guardian paired sensors

* More work

* OOP

* More OOP

* Binary sensors looking good

* Entities all in place

* Looking good

* Linting

* Code review

* Code review

* Flake

* Fix removal

* Code review

* Linting

* Don't use potentially confusing method name

* Use CoordinatorEntity

* Linting

* Pylint

* Code review

* Code review
2020-10-12 21:41:57 -06:00
Glenn Waters f7d3f3a1ed
Add elkm1 bypass and trigger services (#41584) 2020-10-12 21:41:19 -05:00
scheric 7e6432dad6
Use common strings in Griddy config flow (#41716) 2020-10-12 21:13:04 -05:00
Guido Schmitz bb2d3bf50d
Fix climate platform in devolo Home Control (#40746)
Co-authored-by: springstan <46536646+springstan@users.noreply.github.com>
2020-10-12 19:21:59 -05:00
Ville Skyttä f28c3273c2
Upgrade mypy to 0.790 (#41595) 2020-10-12 19:17:30 -05:00
HomeAssistant Azure 1417a4161f [ci skip] Translation update 2020-10-13 00:03:24 +00:00
Anders Melchiorsen b5308bda09
Add Sonos support for media_player.repeat_set service (#41735)
* Add Sonos support for media_player.repeat_set service

* Update homeassistant/components/sonos/media_player.py

* Remove else for pylint

Co-authored-by: cgtobi <cgtobi@users.noreply.github.com>
2020-10-13 00:30:38 +02:00
Anders Melchiorsen d00655810f
Add media_player.repeat_set service (#41435) 2020-10-12 23:29:28 +02:00
scheric a6393fb36c
Use common strings in Avri config flow (#41717) 2020-10-12 19:42:07 +02:00
Christian Bilevits 54bb82a3c2
Add common strings in plaato config flow (#41622) 2020-10-12 19:39:09 +02:00
Niccolo Zapponi 8a45bc2d13
Add support for SimpliSafe sensors (#41080)
* Add support for SimpliSafe sensors

* Turn sensor refresh rate to a configurable setting

* Set minimum to scan interval

* Removed dynamic sensor refresh rate

* Refactoring

* Refactoring

* Move battery entities to binary_sensor platform

* Bug fix

* Clean up

* Simplified device info override

* Ignore sensor cache
2020-10-12 11:31:55 -06:00
Erik Montnemery f70aa0b5cc
Merge Tasmota sensor device class and icon maps (#41706) 2020-10-12 19:26:35 +02:00
Paulus Schoutsen 57996e1942
Improve mobile app template handling (#41703)
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-10-12 17:26:54 +02:00
Philip Allgaier 625bbe6238
Cleanup unused loggers (components A-M) (#41600) 2020-10-12 16:59:05 +02:00
Quentame 6cff58f37d
Fix disabled Synology DSM camera (#41686) 2020-10-12 16:47:05 +02:00
J. Nick Koston b897ca7260
Ensure all template errors are caught and the websocket api reports them (#41719) 2020-10-12 16:38:24 +02:00
puddly f7e7f1371e
Update zigpy-znp to 0.2.2 (#41670) 2020-10-12 09:44:40 -04:00
Vladimír Záhradník 111afbb66f
Refactor Modbus switch to provide a base for other entities (#33551)
* Add Modbus light and fan entities

* Rework Fan and Light components to new config structure

* Fix Linter issue

* Rework Modbus switch initialization

* Properly update state on actuator methods

* Remove Fan and Light entity from this change. They will be merged separately

* Fix loading of the Switch platform

* Modbus switch - inherit from the SwitchEntity
2020-10-12 14:34:44 +02:00
fnurgel bf57035880
Use separate line for return statement in hue_activate_scene (#41709) 2020-10-12 13:40:26 +02:00
Brett 3e41c682f4
Add Advantage Air Integration (#40159)
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-12 13:22:15 +02:00
Erik Montnemery cd21786536
Bump hatasmota to 0.0.13 (#41705)
* Bump hatasmota to 0.0.13

* Fix tests
2020-10-12 13:09:17 +02:00
Dan Ports c8ac787c9f
Bump greeneye_monitor to 2.1 (#41692)
This fixes reporting of temperature sensors with negative values.
2020-10-12 08:14:09 +02:00
Erik Montnemery 84cb00bb4e
Add Tasmota sensor (#41483)
* Add Tasmota sensor

* Remove useless try-except

* Bump hatasmota to 0.0.11

* Apply suggestions from code review

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

* Sort dict constants

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-12 07:27:06 +02:00
Philip Allgaier 59edb25e4e
Clean up speedtest (#41139)
* Remove unused error string + add server list log msg

* Use more common reference texts

* Revert translation files + correct typos
2020-10-12 06:03:45 +02:00
HomeAssistant Azure f787289ea0 [ci skip] Translation update 2020-10-12 00:03:31 +00:00
Matthias Alphart 93a9a11065
Add config validator helper positive_float (#41640) 2020-10-11 22:04:49 +02:00
Angelo Gagliano 874e1f6103
Prevent tplink missing devices and unavailable state (#39762)
* Adds self to codeowners for tplink

* Adds retry to update to prevent missing devices

* Runs through isort and corrects async commit

* Runs through black

* Runs through pre-checks

* Corrects and matches var names

* Re-runs through black

* Corrects var name

* Removes the retry loop and in favor of async add

* Cleanup imports

* Removes no longer valid test

* Removes is_ready and only log retry once

* Corrects switch logging vars

* Adds list of entities to add_entities

* Consumes exception for attempt_update

* Consumes specific exception

* Removes unnecessary update

* Reducing back to 2 seconds

* Removes useless return

* Call get_sysinfo for all at once

* Formated black

* Adds missing docstirng

* Corrects docstring

* Update homeassistant/components/tplink/light.py

Co-authored-by: Anders Melchiorsen <amelchio@nogoto.net>

* Corrects sysinfo call

* Adds default for host vars

* Adds log when device responds again

* Revert host alias default

* Removes unncessary host var

* Removes host var

* Get device details from sysinfo

* Use host and alias for log msg

* Gets hosts from smartbulb

* Changes retry logging to debug

* Attempts coverage add

* Removes unused import

* Updates tests for new retry

* Runs through isort

* Removes unneeded try

* Prevents static entries from failing integration

* Format black

* Forces an update after turn on off

* Remove common test

* Revert update after turn_on off

* Adds patch for sleep_time 0

* Returns False when update fails

Co-authored-by: Anders Melchiorsen <amelchio@nogoto.net>
2020-10-11 21:10:36 +02:00
fnurgel 366006e0aa
Multiple Hue activate scene (#41353) 2020-10-11 21:01:49 +02:00
uvjustin 1c6d0d138d
Adjust dts warning messages in stream (#41467)
* Adjust dts warning messages

* Wait for second packet with overflow dts condition

* Rename dts gap watch variable

* Remove out of order packet warning
2020-10-11 12:55:13 -04:00
uvjustin 6c18feb4ed
Allow only one packet with no dts in stream init (#41129)
* Allow only one packet with no dts in stream init

* Call finalize_stream() on exit
2020-10-11 12:52:51 -04:00
J. Nick Koston c7bbba9d48
Reduce icmplib ping timeout to match ping binary behavior (#41620) 2020-10-11 11:12:27 -05:00
ochlocracy 178b2d8c22
Update display categories in Alexa (#41626)
* Add new display categories from Alexa Smart Home API

* Update Vacuum entities to use VACUUM_CLEANER category.

* Update Automation entities to use ACTIVITY_TRIGGER category.

* Update tests for Automation entities to use ACTIVITY_TRIGGER category.
2020-10-11 11:09:05 -05:00
Maciej Bieniek 13f0ea506e
Bump brother to 0.1.18 (#41056) 2020-10-11 11:04:27 -05:00
Spartan-II-117 44a3278ba8
Use common strings for AirVisual (#41632) 2020-10-11 17:28:55 +02:00
scheric 9d6589240f
Use common strings in logi_circle config flow (#41427)
* already_setup->already_configured

* auth_error->invalid_auth

* rm default

* auth_timeout->oauth2_authorize_url_timeout

* enable auto format black

* add oauth2_missing_configuration

* Use standard helper keys

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-11 10:11:45 -05:00
Christian Bilevits ae20b3a678
Use common strings in ps4 config flow (#41623) 2020-10-11 16:57:21 +02:00
Gautham Varma K ffd25fb2ce
Use common strings in homematicip_cloud config flow (#41658) 2020-10-11 16:53:03 +02:00
Philip Allgaier b6a93724bf
Use consistent "percent" naming in systemmonitor (#41411) 2020-10-11 15:52:32 +02:00
Christian Bilevits 1cb25cdaf7
Use common strings in panasonic config flow (#41641)
* Add missing common strings

* Add common string
2020-10-11 15:47:49 +02:00
Gautham Varma K 9d515e8c34
Use common strings in risco config flow (#41656) 2020-10-11 15:46:59 +02:00
scheric 1f4fe62380
Use common strings in twentemilieu config flow (#41647) 2020-10-11 14:54:08 +02:00
Christian Bilevits 1c4512bc40
Use common strings in Nest config flow (#41597) 2020-10-11 14:47:30 +02:00
Christian Bilevits ef448f1549
Use common strings in profiler config flow (#41642) 2020-10-11 14:33:34 +02:00
scheric f382754830
Use common strings in iOS config flow (#41644) 2020-10-11 14:32:06 +02:00
scheric 9c9b9e8227
Use common strings in Météo-France (#41610)
* insert feadback

* more feadback
2020-10-11 09:58:54 +02:00
Brian Rogers 899431235b
Bump rachiopy to 1.0.3 and update methods to handle changes (#41398) 2020-10-10 19:44:49 -05:00
HomeAssistant Azure 80522f1bdc [ci skip] Translation update 2020-10-11 00:03:37 +00:00
Christian Bilevits fdc965c6b9
Add missing common strings (#41621) 2020-10-11 00:42:32 +02:00
Steffen Rusitschka b5f4b58832
Add rx mode to homematic.put_paramset service (#40065) 2020-10-10 20:42:19 +02:00
Christian Bilevits 0838936ce7
Add common strings in broadlink config flow (#41602) 2020-10-10 19:12:15 +02:00
Paulus Schoutsen dc1b1706f1
Add device info to met (#41611) 2020-10-10 17:30:27 +02:00
Daniel Hjelseth Høyer 4ece928c0a
Remove icon for Tibber sensor (#41604) 2020-10-10 17:29:45 +02:00
J. Nick Koston 00b338002a
Update icmplib to 1.2.2 (#41608)
Fixes IPv6 lookups
2020-10-10 17:28:13 +02:00
J. Nick Koston da2f9db62e
Fix async functions accidentally marked as callbacks (#41607) 2020-10-10 16:54:36 +02:00
javicalle 73f52c829a
Remove illuminance sensor for Xiaomi EU gateway (#41580)
Xiaomi EU gateway don't support the `XiaomiGatewayIlluminanceSensor`.
2020-10-10 14:43:06 +02:00
Diederik van den Burger c31d9bfd3f
Update Withings integration (add sleeps data) (#41504) 2020-10-10 14:41:26 +02:00
scheric 7f8f53607e
add strings (#41599) 2020-10-10 14:38:00 +02:00
Daniel Hjelseth Høyer 9299f0a8b2
Add device_class to Tibber sensor (#41572) 2020-10-10 14:20:15 +02:00
Ville Skyttä 66aa55dddf
Fix deCONZ IKEA TRÅDFRI device name spelling (#41574) 2020-10-10 13:04:00 +02:00
Gabe Cook 4b617db669
Add Ruckus Unleashed integration (#40002)
* Add Ruckus Unleashed integration

* Tweak catches to better rely on CoordinatorEntity error handling, rename LoginError to AuthenticationError

* Make router_update be a callback function

* Make name property return hint match the newer value

* Add entity to tracked set when restoring on boot

* Add a device's MAC to the attributes
2020-10-10 13:01:53 +02:00
Raman Gupta 025bdd74a1
Allow users to update their iCloud password when auth fails (#39138)
* Allow users to update their iCloud password when auth fails after successful setup

* remove trailing comma

* use new reauth source instead of custom one so frontend can do the right thing

* add quentames text suggestion with a slight tweak

* fix test

* use common string for successful reauth and remove creation and dismissal of persistent notification

* Update homeassistant/components/icloud/account.py

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-10 02:02:28 -04:00
HomeAssistant Azure 6ae12c3faf [ci skip] Translation update 2020-10-10 00:05:05 +00:00
epenet 843c4e27f3
Update Onewire SysBus integration to use a 3rd party library (#40943) 2020-10-09 17:31:05 +02:00
Abílio Costa 078ecef4b2
Remove duplicated attribute request from ZHA (#41442)
The on_off attribute is on the REPORT_CONFIG, so
super().async_initialize already requests it from the device.
No need to request it twice.
2020-10-09 09:23:52 -04:00
definitio 0a1d9abe79
Use common strings in esphome config flow (#41547) 2020-10-09 14:28:54 +02:00
Steffen Rusitschka a9adc2a6f0
Publish state changes to Zabbix (#36659) 2020-10-09 14:11:50 +02:00
Xiaonan Shen e6a65b8bd3
Bump yeelight to 0.5.4 (#41524) 2020-10-09 13:30:42 +02:00
cgtobi 96035eb052
Fix missing weather sensors (#41540) 2020-10-09 12:34:52 +02:00
Franck Nijhof 58ede21f39
Fix date parsing template int in history stats (#41476) 2020-10-09 11:50:52 +02:00
Maciej Bieniek 9d1aa70c62
Fix description reference in PoolSense config flow (#41535) 2020-10-09 11:16:16 +02:00
J. Nick Koston f268378f0f
Fix plant doing IO in the event loop. (#41527)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-09 09:57:46 +02:00
J. Nick Koston a8a2109cef
Convert last remaining async_add_job in light to async_add_executor_job (#41518) 2020-10-09 09:32:55 +02:00
J. Nick Koston 1c431aa7bd
Set created field when creating db events and states (#41523)
Avoids thousands of utcnow calls when the session
is commited on busy systems to fill in the field
default.
2020-10-09 09:31:17 +02:00
J. Nick Koston 617509413c
Update wake_on_lan to use async_add_executor_job (#41528) 2020-10-09 09:29:16 +02:00
J. Nick Koston 3267823165
Update http to use async_add_executor_job (#41529) 2020-10-09 09:29:07 +02:00
J. Nick Koston 822ad0ae9c
Update arcam_fmj device trigger to use async_run_hass_job (#41530) 2020-10-09 09:28:55 +02:00
J. Nick Koston fef2700351
Update kodi device trigger to use async_run_hass_job (#41531) 2020-10-09 09:27:47 +02:00
J. Nick Koston e03b3e2310
Restore group support to plant entities (#41519) 2020-10-09 08:37:27 +02:00
HomeAssistant Azure 29aea5a66c [ci skip] Translation update 2020-10-09 00:04:33 +00:00
J. Nick Koston 480b8165d7
Update notify to use async_add_executor_job (#41516) 2020-10-08 23:58:33 +02:00
J. Nick Koston 5b8ecc26a4
Update device_tracker to use async_add_executor_job (#41515) 2020-10-08 23:56:32 +02:00
jan iversen 4d9ff13384
Fix bool registers in modbus integration (#41506)
When a register is of type bool modbus returns a whole byte, but ONLY the
lowest bit determine true/false.
2020-10-08 23:52:41 +02:00
djtimca 8e3258cdfb
Fix omnilogic temperature sensor with metric setting (#41509) 2020-10-08 23:48:54 +02:00
springstan 916178925e
Return attribute dict directly without temporary variable v3 (#41502) 2020-10-08 21:33:08 +02:00
Fredrik Erlandsson f42eca3fcf
Add common strings in daikin config flow (#41419) 2020-10-08 21:25:54 +02:00
Ville Skyttä cf83c6bf00
Complete Huawei LTE type hints, make mypy check them (#41503) 2020-10-08 21:02:47 +02:00
Joakim Sørensen 61a5bf5645
Add delete to hassio API (#41500) 2020-10-08 20:40:45 +02:00
willholdoway 1e9e0c8686
Add mute command to Bluesound integration (#41501)
Adding mute as a separate command as per the Bluesound API, rather than the current pseudo-mute which is achieved via lowering the volume to 0 then detecting whether the volume is 0 < volume < 0.001
2020-10-08 20:20:39 +02:00
Arjan van Balken 0856d91b0e
Update Arris TG2492LG dependency version (#41465) 2020-10-08 19:08:20 +02:00
scheric c2d0c90cd4
Use common strings in tellduslive config flow (#41408)
Co-authored-by: springstan <46536646+springstan@users.noreply.github.com>
2020-10-08 18:14:21 +02:00
scheric 5345e9fb5c
Use common strings in fritzbox config flow (#41407)
Co-authored-by: springstan <46536646+springstan@users.noreply.github.com>
2020-10-08 18:12:04 +02:00
Keilin Bickar d8aebe145b
Add active voltage sensors to Sense integration (#41112) 2020-10-08 18:08:37 +02:00
J. Nick Koston 2aee72981c
Add missing on states to media player groups (#41496) 2020-10-08 17:58:52 +02:00
Markus Bong ac256815f9
Optimize devolo light devices (#41053) 2020-10-08 16:55:23 +02:00
Guido Schmitz a81f4cf387
Fix async_unload_entry for devolo Home Control (#41488) 2020-10-08 16:48:05 +02:00
Bram Kragten 29a613e91f
Update frontend to 20201001.2 (#41491) 2020-10-08 16:00:34 +02:00
scheric a71049112e
Use common strings in Atag config flow (#41351) 2020-10-08 15:27:28 +02:00
jrester 734972f876
Update tesla_powerwall to 0.3.3 (#41482) 2020-10-08 08:26:44 -05:00
cgtobi 07d208f1bc
Bump pyatmo version to 4.1.0 (#41487) 2020-10-08 15:08:15 +02:00
Paulus Schoutsen 3036c17769
Downgrade Paho MQTT to 1.5.0 (#41479) 2020-10-08 12:31:46 +02:00
Erik Montnemery 35287828bc
Poll state when Tasmota device becomes available (#41401) 2020-10-08 11:17:23 +02:00
J. Nick Koston b51a160cce
Update triggers to use HassJob (#41450)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-10-08 09:44:34 +02:00
J. Nick Koston 7537a3a7c8
Update filter to use async_add_executor_job (#41455) 2020-10-08 09:22:51 +02:00
J. Nick Koston 740d15e41d
Update media_player to use async_add_executor_job (#41459) 2020-10-08 09:22:37 +02:00
J. Nick Koston dfc656a2c6
Update lock to use async_add_executor_job (#41458) 2020-10-08 09:22:16 +02:00
J. Nick Koston aa250c2b61
Update cover to use async_add_executor_job (#41456) 2020-10-08 09:21:47 +02:00
J. Nick Koston 1bf6166817
Update fan to use async_add_executor_job (#41457) 2020-10-08 09:21:29 +02:00
J. Nick Koston e10413fa4c
Update trend to use async_add_executor_job (#41454) 2020-10-08 09:20:58 +02:00
J. Nick Koston ad5273ded1
Update config to use async_add_executor_job (#41452) 2020-10-08 09:20:39 +02:00
J. Nick Koston 8a374590e8
Update discovery to use async_add_executor_job (#41453) 2020-10-08 09:20:07 +02:00
J. Nick Koston 52e8366ce7
Update roomba to use async_add_executor_job (#41448) 2020-10-08 09:15:47 +02:00
J. Nick Koston 4ab02cb9bc
Ensure recorder commit can retry after encountering invalid data (#41426) 2020-10-08 09:15:25 +02:00
On Freund b5e57ed4fd
Support matching multiple user ids in event trigger (#41036) 2020-10-08 09:10:42 +02:00
Erik Montnemery 392d5c673a
Cache matching MQTT subscriptions (#41433) 2020-10-08 08:52:23 +02:00
Erik Montnemery 85603dcd08
Remove useless try-except from Tasmota binary sensor (#41462) 2020-10-08 08:44:11 +02:00
J. Nick Koston c1a0329401
Update nexia to use async_add_executor_job (#41451) 2020-10-07 23:59:02 -05:00
HomeAssistant Azure d73d36d0cd [ci skip] Translation update 2020-10-08 00:06:03 +00:00
Vladimír Záhradník ba84d0bf5c
Add custom data type support into Modbus climate (#32439) 2020-10-07 22:43:16 +02:00
scheric 3d9d90c4c8
Use common string names in ipp config flow (#41409)
* connection_error->cannot_connect

* connection_error->cannot_connect in config flow
2020-10-07 22:42:01 +02:00
Tom b8f291d58e
Prepare Plugwise integration for USB products (#41201)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-07 22:25:42 +02:00
Erik Montnemery 343e5d64b8
Add MQTT integration discovery (#41332)
* Add MQTT integration discovery

* Add script/hassfest/mqtt.py

* Unsubscribe if config entry exists

* Add homeassistant/generated/mqtt.py

* Fix bad loop

* Improve tests

* Improve tests

* Apply suggestions from code review

Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch>

* Prevent initiating multiple config flows

Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch>
2020-10-07 18:30:51 +02:00
Erik Montnemery 3f263d5cbe
Remove deprecated host & platform configuration for cast (#41402) 2020-10-07 18:01:34 +02:00
Glenn Waters 451f27bba1
Bump ElkM1 lib dependency. (#41399) 2020-10-07 09:31:37 -05:00
Martin Hjelmare e006e0ddb3
Revert zoneminder config flow (#41395) 2020-10-07 16:28:49 +02:00
jyz0501 0f3489f5cb
Baidu TTS: support more voices (#41393)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-07 15:44:16 +02:00
scheric 434c269f25
Add common strings in Agent dvr config flow (#41279) 2020-10-07 15:39:10 +02:00
J. Nick Koston 113d738fa2
Reduce orm overhead by grouping object expiration (#41394) 2020-10-07 15:35:48 +02:00
Maciej Bieniek 0dabf4962e
Use already_configured_location string in GIOS config flow (#41384) 2020-10-07 15:30:46 +02:00
cgtobi 05765f1700
Remove Netatmo unnecessary battery sensors (#41321) 2020-10-07 15:25:11 +02:00
Maciej Bieniek 4434958265
Use name translation reference in Airly config flow (#41319)
* Use more translation references

* Revert already_configured string
2020-10-07 15:24:32 +02:00
Dave T d3bc4efa89
Use common strings in Awair (#41313)
* awair use common strings

* Use common strings: 'auth' to invalid_access_token

* Use reauth successful ref

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-07 15:17:10 +02:00
Erik Montnemery 306ee30574
Enable MQTT discovery by default (#41361) 2020-10-07 14:51:06 +02:00
SNoof85 b7c2e117be
Use reference strings in Alarmdecoder (#41392) 2020-10-07 14:46:17 +02:00
Spartan-II-117 d2d3749223
Use common strings for Almond Config Flow (#41097)
Co-authored-by: springstan <46536646+springstan@users.noreply.github.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-10-07 14:45:19 +02:00
Erik Montnemery 6e84f91762
Add Tasmota binary sensor (#41380) 2020-10-07 14:41:30 +02:00
SNoof85 7c133e4630
Use reference strings in Smarthab (#41391) 2020-10-07 14:39:30 +02:00
Paulus Schoutsen 4968a12b6c
Reduce Somfy polling (#41389) 2020-10-07 13:49:45 +02:00
Matej Plavevski cf9a508557
Remove duplicate ATTR_USERNAME (#41386) 2020-10-07 11:41:00 +02:00
Maciej Bieniek ca441a79aa
Add invalid_host to base strings for config flows (#41381) 2020-10-07 11:24:31 +02:00
SNoof85 04b04027c3
Use reference strings in Withings (#41345) 2020-10-07 11:22:11 +02:00
Glenn Waters 95e4048f4e
Fix elkm1 changed by (#41378) 2020-10-07 10:36:49 +02:00
Paulus Schoutsen 66e6ae8dbd
Add additionalAttributes to Alexa discovery payload (#41370) 2020-10-07 09:32:12 +02:00
Yury Kotlyarov 99a64237f4
Support of NEW fan speed controller Leviton Decora ZW4SF-1BW (#41374)
Product page: https://www.leviton.com/en/products/zw4sf-1bz
Product year: 2020
2020-10-07 08:50:41 +02:00
tkdrob 1ed6133ee6
Add update_alarm to sonos services.yaml (#41376) 2020-10-07 08:18:13 +02:00
Maciej Bieniek 81ceb3e499
Add already_configured_location to base strings for config flows (#41335)
* Add already_configured_location key

* Use already_configured_location in Airly

* Use already_configured_location in Flu Near You

* Use already_configured_location in OpenUV

* Use already_configured_location in Open Weather Map

* Use already_configured_location in AirVisual
2020-10-06 22:34:06 -05:00
Charles Garwood 4c86e99ccf
Bump python-openzwave-mqtt to 1.2.2 (#41357) 2020-10-07 02:10:54 +02:00
HomeAssistant Azure 486c0b644a [ci skip] Translation update 2020-10-07 00:06:20 +00:00
Alexei Chetroi 0ec4887837
Bump up zha dependency to 0.26.0 (#41371) 2020-10-07 01:15:49 +02:00
Quentame ae1c15ff14
Set longer timeout during synology_dsm config flow (#41364) 2020-10-07 01:14:05 +02:00
Paul Annekov ca59c4a645
Bump tuyaha to 0.0.8 (#41365) 2020-10-07 00:22:42 +02:00
Anders Melchiorsen a65dcbf204
Allow playing Spotify URLs with Sonos (#41366) 2020-10-07 00:15:09 +02:00
Franck Nijhof ee914366a8
Add native Python types support to templates (#41227)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-10-07 00:05:52 +02:00
Erik Montnemery 42fb0e9545
Bump hatasmota to 0.0.10, minor refactor of discovery (#41331)
* Bump hatasmota to 0.0.10, minor refactor of discovery

* Update tests

* Add missing docstrings
2020-10-06 22:32:36 +02:00
Shulyaka 9b947e08bf
Add ZHA Analog Input cluster for XBee (#41311)
* Add ZHA XBee Analog Input cluster

* Fix manufacturer to Digi
2020-10-06 16:01:51 -04:00
J. Nick Koston d35e33610a
Resolve memory leak in recorder (#41349)
Avoids a build up of the InstanceState.
2020-10-06 20:12:47 +02:00
SNoof85 b8287d6db6
Use reference strings in Vesync (#41341)
* Update strings.json

* Update config_flow.py

* Update test_config_flow.py
2020-10-06 20:00:07 +02:00
SNoof85 ba81c0c043
Use reference strings in Upb (#41340)
* Update strings.json

* Update config_flow.py

* Update test_config_flow.py
2020-10-06 19:57:38 +02:00
SNoof85 f256d0a4ea
Use reference strings in upnp (#41327)
* Update strings.json

* Update strings.json

* Update config_flow.py

* replace service by device

Co-authored-by: scheric <38077357+scheric@users.noreply.github.com>

Co-authored-by: scheric <38077357+scheric@users.noreply.github.com>
2020-10-06 19:54:20 +02:00
scheric 6ab9d0bc31
add common strings (#41350) 2020-10-06 18:50:32 +02:00
springstan 61d9067a49
Return empty dictionary at first for attributes (#41348) 2020-10-06 18:08:53 +02:00
Franck Nijhof 4d12fcc218
Fix TTS ID3 Tag capability check (#41343) 2020-10-06 17:49:14 +02:00
springstan 513f03eb1f
Return attribute dict directly without temporary variable v2 (#41271) 2020-10-06 16:55:16 +02:00
Dave T 33e69fe4bf
Update axis to use common strings (#41164)
* Update axis to use common strings

* Update common str device_unavailable to cannot_connect

Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2020-10-06 16:54:18 +02:00
SNoof85 8b2df5bf99
Use reference strings in Smappee (#41337)
* Update strings.json

* Update strings.json

* Update config_flow.py

* Update test_config_flow.py
2020-10-06 16:51:36 +02:00
Maciej Bieniek d9e48b483b
Use name translation reference in AccuWeather config flow (#41338) 2020-10-06 16:49:02 +02:00
Charles Garwood d6ad85bba7
Protect add/remove node services from invalid instance ID (#41334) 2020-10-06 09:54:46 -04:00
Guido Schmitz bfb00b9bb5
Add battery state for devolo Home Control devices (#41329) 2020-10-06 15:43:12 +02:00
SNoof85 0460166c7c
Use reference strings in Synology_DSM (#41333)
* Update strings.json

* Update config_flow.py

* Update test_config_flow.py
2020-10-06 15:35:36 +02:00
Teemu R 46b2c776db
Fetch timers separately for xiaomi vacuums (#41330) 2020-10-06 15:26:59 +02:00
cgtobi 6065ab118f
Add Netatmo weather trend sensors (#41318)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-06 15:25:12 +02:00
Paulus Schoutsen 4d5948b4d0
Use dict syntax (#41325) 2020-10-06 15:02:23 +02:00
Thibaut 61f919b18c
Handle somfy error 404 during setup (#41298) 2020-10-06 15:02:03 +02:00
Maciej Bieniek ae54c21945
Use name reference and fix already_configured string for GIOS integration (#41323) 2020-10-06 14:54:02 +02:00
Erik Montnemery 06e9489fc7
Add Tasmota integration (#39624)
* Add Tasmota integration

* Refactor

* Add tests, small improvements

* isort

* Attempt to fix tests failing with Python 3.8

* Revert "Attempt to fix tests failing with Python 3.8"

This reverts commit 11454f8a00136f068ea27204183fa3e62f3cd263.

* Fix tests failing with Python 3.8

* Cleanup tests

* Address review comments

* Address review comments

* Address review comments

* Use MAC address for device identification

* Bump hatasmota

* Bump hatasmota

* Apply suggestions from code review

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

* Fix indentation

* Remove preparation for device remove WS API

* Address review comments

* Remove useless try-except

* Tweak

* Improve tests

* Tweak

* Address review comments

* Correct test

* Update manifest.json

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-06 14:51:58 +02:00
SNoof85 3cf6535011
Use reference strings in Tile (#41328) 2020-10-06 14:44:14 +02:00
cgtobi dcf0f9d3f3
Fix Netatmo wind angle (#41324) 2020-10-06 14:43:30 +02:00
cgtobi d7890f35be
Fix Netatmo rain sensor naming (#41326) 2020-10-06 14:42:50 +02:00
Raman Gupta 06306f5dfe
Add OZW WS API support for locks (#41186)
* add WS API support for locks and simplify lock service calls

* move return outside of try blocK

* fix rebase conflicts
2020-10-06 14:20:48 +02:00
Pigotka e1578e5389
Use of reference strings in Almond config flow (#41284) 2020-10-06 14:12:12 +02:00
TopdRob 888c92aa5e
Use common strings for Panasonic Viera (#41268)
* Update strings.json

* Update config_flow.py

* Update homeassistant/components/panasonic_viera/strings.json

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

* Update homeassistant/components/panasonic_viera/strings.json

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

* Update config_flow.py

* Update test_config_flow.py

* Update test_config_flow.py

* Fix failed tests

* revert line 530

* Fix remaining error key

* Remove not needed import

* Update const.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-06 14:07:38 +02:00
Charles Garwood 356ebc1128
Add cancel_command service for OpenZWave (#41285)
* Add cancel_command service for OpenZWave

* Raise ValueError if instance is None
2020-10-06 14:05:52 +02:00
Felipe Martins Diel 34416fcad3
Log device info in Broadlink error messages (#41307) 2020-10-06 08:02:14 -04:00
Steven Looman c812812631
Don't set upnp config_entry.unique_id from setup entry (#40988)
* Don't set config_entry.unique_id from setup entry. Fixes #40168

* Ensure entry has a unique_id

* Add test test_flow_import_incomplete

* Add test test_flow_import_duplicate

* Re-add testing import_info

* Simplify import flow

* Remove not needed line

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-06 13:57:36 +02:00
SNoof85 c5653ec57b
Use reference strings in konnected (#41290)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-06 11:49:46 +02:00
SNoof85 883c9b5e18
Add reauth_successful to base strings (#41316) 2020-10-06 11:29:53 +02:00
Pigotka ed9a40874d
Use of reference strings in Transmission config flow (#41215) 2020-10-06 11:25:56 +02:00
springstan 014fe48096
Add pin to base strings for config flows (#41202) 2020-10-06 11:00:36 +02:00
SNoof85 c4401754be
Use reference strings in iqvia (#41289) 2020-10-06 10:27:16 +02:00
SNoof85 3e2b95949f
Use reference strings in Metoffice (#41295) 2020-10-06 10:26:49 +02:00
SNoof85 949ab621c0
Use reference strings in ambient_station (#41276) 2020-10-06 10:15:11 +02:00
Brett b6b85d3e0c
Fix reported temperatures in Maxcube (#41259) 2020-10-06 10:06:54 +02:00
Joakim Plate 999eeb39b9
Indicate to user that remote was turned off when call was attempted (#40715)
* Indicate to user that remote was turned off when call was attempted

* Catch exception in test

* Switch to warning log

* Apply suggestions from code review

Add suggested change to loggin
2020-10-06 06:12:39 +02:00
SNoof85 acb0307beb
Use reference strings in Hunter Douglas PowerView (#41291) 2020-10-05 21:57:34 -05:00
HomeAssistant Azure bcfa4ac959 [ci skip] Translation update 2020-10-06 00:08:09 +00:00
Andrew Sayre 8e6a616846
Update pysmartthings (#41294) 2020-10-05 22:12:38 +02:00
scheric f2b73c05d6
add strings (#41297) 2020-10-05 14:56:47 -05:00
scheric 95c831648b
add common strings (#41300) 2020-10-05 14:56:06 -05:00
SNoof85 7a12a16fc5
Use reference strings in iaqualink (#41292)
* Update strings.json

* Update config_flow.py

* Update test_config_flow.py
2020-10-05 14:55:12 -05:00
SNoof85 72cbdbbe36
Update strings.json (#41293) 2020-10-05 14:54:43 -05:00
Raman Gupta 6db4075a23
Add OZW node config parameters websocket commands (#40527)
* add websocket commands to retrieve and set config parameters for a node

* move set_config_parameter into generic function and refactor service and WS API

* add payload to return to make service call behave the same way it did before

* create response class

* update error message to pass tests

* move things a bit to reduce LOC

* add tests

* handle logging errors better and make new response class more generic to prepare for lock user code work

* remove unused function parameter

* invert check

* add additional error checking

* refactor a bit to remove repeat code

* revert log msg change

* one more refactor to create generic get_config_parameters function

* change if logic for consistency

* fix test

* add support to provide bool value in set_config_parameter service call

* standardize parameter names on service call

* add test coverage

* fix tests and message sending

* remove unnecessary logging import

* fix one test to get missing coverage

* update per martin and kpines reviews

* remove false assertion

* string line length

* add support for Decimal config param, remove node instance ID as input, and move helper functions to node.py

* cast Decimal appropriately

* revert change to support Decimal for config params since they are not supported as a config param type

* revert to using error arguments to make next PR for WS lock commands easier

* switch to class method and add guard for list Value not being a number

* update logic to use new openzwavemqtt util methods

* add support for bitsets

* use parent exception class

* bump openzwavemqtt version, remove node.py from .coveragerc and put file references in the right place

* add comment

* improve config validation

* remove bitset support from config validation

* re-add bitset support with some additional tests

* move send_result out of try block
2020-10-05 21:47:28 +02:00
Pigotka 7eaa304fc3
Use of reference strings in Heos config flow (#41282) 2020-10-05 12:22:02 -05:00
Pigotka ac795ddcd0
Use of reference strings in Goalzero config flow (#41275) 2020-10-05 18:07:11 +02:00
SNoof85 87b1d1b57f
Use reference strings in Rainmachine (#41272) 2020-10-05 17:40:35 +02:00
Bram Kragten bc2305561f
Updated frontend to 20201001.1 (#41273) 2020-10-05 17:39:13 +02:00
SNoof85 8bae9b2124
Use reference strings in Tesla (#41270)
* Update strings.json

* Update config_flow.py

* Update test_config_flow.py
2020-10-05 16:41:16 +02:00
J. Nick Koston 4798f37c6e
Convert States to dicts via as_dict only once (#41208)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-05 09:18:57 -05:00
TopdRob 2f54bf29ba
Use reference strings in HomematicIP Cloud #40578 (#41243)
Co-authored-by: scheric <38077357+scheric@users.noreply.github.com>
2020-10-05 15:30:39 +02:00
SNoof85 b7ff0a5a49
Use reference strings in rainmachine (#41216) 2020-10-05 15:29:27 +02:00
J. Nick Koston f50976a0b3
Switch to asyncio.wait for slow update warning implementation (#41184) 2020-10-05 15:28:15 +02:00
Diefferson Koderer Môro dde465da48
Use common strings for Onvif config flow (#41170)
* Use common strings for Onvif config flow

* Fix tests

* Update homeassistant/components/onvif/strings.json

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-05 15:27:48 +02:00
SNoof85 c7027e2828
Use reference strings in Notion (#41211) 2020-10-05 15:13:37 +02:00
J. Nick Koston 20a136e2a1
Avoid event data serialization during recorder that we throw away (#41217)
We currently serialize the event data for state change events
and then replace it because we save the state in the states table.
Since the old state and new state are both contains in the event
the cost of serializing the data has a noticable impact when there
are many state changed events.
2020-10-05 15:08:47 +02:00
Diefferson Koderer Môro 44580b1c07
Use common strings for Flu Near You config flow (#41174) 2020-10-05 15:05:57 +02:00
J. Nick Koston 494d4a262a
Add Profiler integration (#41175)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-05 07:57:07 -05:00
SNoof85 2763ace2bc
Use reference strings in Tradfri (#41237) 2020-10-05 14:35:59 +02:00
SNoof85 f679acd3fa
Use reference strings in Tesla (#41238) 2020-10-05 14:32:09 +02:00
Spartan-II-117 c02d9050b7
Use common Strings for Z-Wave config flow (#41161)
* Use common Strings for Z-Wave config flow

* Update strings.json

* Update config_flow.py
2020-10-05 14:26:06 +02:00
J. Nick Koston 15ade1232e
Setup geo_location to only track the geo_location domain (#41254)
The trigger was watching for all states
2020-10-05 14:25:41 +02:00
TopdRob c3eb56c592
Use common strings for Lutron Caseta config flow (#41241) 2020-10-05 14:23:34 +02:00
Diefferson Koderer Môro def9c98c9b
Use common strings for GDACS config flow (#41178)
* Use common strings for GDACS config flow

* Fix ci

* Update test_config_flow.py
2020-10-05 14:21:00 +02:00
Paulus Schoutsen 8ae3f575dd
Add extended validation for script repeat/choose (#41265) 2020-10-05 14:03:48 +02:00
scheric 0a3db42d61
Use common strings in Ecobee config flow (#41257)
* Update common Strings

* one_instance_only -> single_instance_allowed
2020-10-05 13:53:11 +02:00
Dave T 5f695e789b
Axis remove orphan string (#41166) 2020-10-05 13:27:12 +02:00
Paulus Schoutsen fe2c16dc29
Allow any value when triggering on state attribute (#41261) 2020-10-05 12:53:12 +02:00
springstan 038c05d0ee
Return attribute dict directly without temporary variable (#41206) 2020-10-05 12:51:48 +02:00
SNoof85 cf5c99d2a9
Use reference strings in Tuya (#41236) 2020-10-05 12:49:09 +02:00
SNoof85 d6fff02b11
Use reference strings in pvpc_hourly_pricing (#41214) 2020-10-05 12:22:29 +02:00
zetvio 979346f1ce
Use references in blebox config flow (#41244) 2020-10-05 11:48:44 +02:00
zetvio 78b4c3981f
Use reference strings in Samsung TV config flow (#41248)
* Use reference strings in samsungtv config flow

* Adjust samsungtv config flow tests
2020-10-05 11:45:35 +02:00
Ville Skyttä 56f0a68c49
Add and fix some Huawei LTE type hints (#41196) 2020-10-05 11:21:48 +02:00
Raman Gupta baef8b033a
Bump apprise version to avoid sync in async issues (#41253) 2020-10-05 10:24:18 +02:00
SNoof85 f145a8c8d1
Use reference strings in Myq (#41209) 2020-10-04 19:16:23 -05:00
SNoof85 116dd7ddf4
Use reference strings in Nuheat (#41213) 2020-10-04 19:15:14 -05:00
HomeAssistant Azure 8d1d585b40 [ci skip] Translation update 2020-10-05 00:04:23 +00:00
springstan 6102d05306
Remove unnecessary should poll from light classes (#41229) 2020-10-04 23:28:25 +02:00
springstan b1ff69d9a3
Remove unnecessary should poll from cover classes (#41231) 2020-10-04 23:26:33 +02:00
Jeff H a1f70e11ae
Fix slack message icon override (#41212)
* Fix slack message icon override

Allows overriding the icon for individual slack
messages using either an emoji or a URL.

* Run python3 -m script.gen_requirements_all

* Add period to first line

* Add support for python 3.7 testing

AsyncMock is only available from python 3.8+. Prior to this,
CoroutineMock is used which doesn't mock the method so it
needs to be done manually.

* Fix tests for python3.7 compatibility

The Python3.7 mock call object doesn't have the kwargs helper property.

* Update default emoji test docstring
2020-10-04 14:17:24 -07:00
Nikolai 27c3ce16c3
Fix spelling in telegram_bot services (#41235) 2020-10-04 22:52:02 +02:00
springstan e75557c1f5
Remove unnecessary should poll from binary sensor classes (#41221) 2020-10-04 22:11:46 +02:00
springstan f47d58d9c2
Remove unnecessary should poll from sensor classes (#41219)
* Remove unnecessary should poll from sensor classes

* Remove two more occurrences
2020-10-04 21:35:59 +02:00
springstan e51be33e18
Remove unnecessary should poll from switch classes (#41218) 2020-10-04 21:31:02 +02:00
springstan f17089e46e
Remove unnecessary should poll from camera classes (#41228) 2020-10-04 21:26:59 +02:00
springstan 228e167b03
Remove unnecessary should poll from media player classes (#41220) 2020-10-04 21:26:09 +02:00
SNoof85 b8ed9fb4c0
Use reference strings in Nexia (#41210) 2020-10-04 15:38:52 +02:00
scheric c3ef05a37e
Use common strings in Icloud config flow (#41188) 2020-10-04 13:32:53 +02:00
SNoof85 d5c88a4e3c
Use reference strings in Coronavirus (#41057)
* Update strings.json

* Update strings.json
2020-10-04 13:29:41 +02:00
scheric 600b6c0e34
Use common strings in Geonetnz quakes config flow (#41192) 2020-10-04 13:28:59 +02:00
Franck Nijhof f95416bd98
Remove deprecation invalidation version from cast integration (#41197) 2020-10-04 12:54:03 +02:00
scheric abfe575a58
Use common strings in hisense_aehw4a1 config flow (#41190) 2020-10-04 12:04:51 +02:00
Justin Paupore b4799ba66d
Fix TTS handling of non-ID3 metadata tags (#41191)
Change #40666 used mutagen's ID3 TextFrame to wrap metadata information.
While this is the correct behavior for container formats that use ID3
metadata tags, such as MP3 and linear PCM, Ogg container formats use
a different metadata format. For these containers, the metadata needs to
be a bare str, not wrapped in a TextFrame.
2020-10-04 11:59:53 +02:00
On Freund a50405aa6e
Fix kodi.add_to_playlist (#41185) 2020-10-04 10:53:44 +02:00
HomeAssistant Azure f8c2d877aa [ci skip] Translation update 2020-10-04 00:05:05 +00:00
Abílio Costa 4aacc87425
Indentify IKEA and Phillips motion sensors correctly (#41111) 2020-10-03 19:52:21 -04:00
Guido Schmitz a73daa5f20
Use the shared Zeroconf instance in devolo_home_control (#40800) 2020-10-03 15:31:19 -05:00
cgtobi f9f17dc718
Update Kodi to no longer use protected methods (#40788)
* Replace protected methods

* Fix method name

* Bump PyKodi version to 0.2.1

* Reuse variable
2020-10-03 15:12:18 -05:00
Matthew Donoughe b281e85c80
Lutron Caseta: update for light transition and cover stop (#41155)
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-10-03 15:06:23 -05:00
Rohan Kapoor 95c3ac0c09
Treat optional input as optional in ZoneMinder config flow (#41156) 2020-10-03 21:34:52 +02:00
Guido Schmitz daf3a29ae5
Use references in config flow of devolo_home_control (#40949) 2020-10-03 21:33:33 +02:00
J. Nick Koston 78dfaa72a2
Ensure lights added after group is created have the correct state (#41034) 2020-10-03 21:29:41 +02:00
Spartan-II-117 ed171a885b
Use common Strings for Acmeda Config Flow (#41092) 2020-10-03 21:29:30 +02:00
Marius 00b3b9f183
Change Swap free mandatory arg (#41025)
to False
2020-10-03 20:55:00 +02:00
Rob Bierbooms fc925790dc
Use common strings for somfy config flow (#41150) 2020-10-03 20:18:48 +02:00
Rob Bierbooms 8e9e44e93f
Use common strings for home connect config flow (#41153) 2020-10-03 20:15:53 +02:00
springstan f919646519
Use already configured key in harmony and mikrotik (#41142) 2020-10-03 18:17:24 +02:00
SukramJ 5721225dde
Reorg channel handling for Homematic IP Cloud (#41118) 2020-10-03 16:35:04 +02:00
springstan c00915a6a7
Add ssl and verify_ssl to base strings for config flows (#40944)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-03 16:06:45 +02:00
Matej Plavevski 4fea7c6775
Replace minecraft translation strings with reference strings (#40997) 2020-10-03 16:02:03 +02:00
springstan 064a453604
Add already_in_progress to base strings for config flows (#40961) 2020-10-03 15:49:09 +02:00
springstan 04daa9a378
Add name to base strings for config flows (#40947)
* Add name to base strings for config flows

* Fix HA strings.json
2020-10-03 15:28:42 +02:00
springstan 7bafa921bb
Add api token to base strings for config flows (#41133) 2020-10-03 15:26:37 +02:00
Thijs de Jong 406ac38c75
Use common string in Melcloud config flow (#41134)
* Use common string in Melcloud config flow

* Add missing config_flow
2020-10-03 15:24:48 +02:00
scheric 1b4254d1df
Use common string in Solarlog config flow (#41130)
* Update common Strings

* Merge feadback
2020-10-03 15:22:15 +02:00
Daniel Hjelseth Høyer 4a1173c3de
Update met config string (#41048)
* update config string met

* typo

* config strings
2020-10-03 15:18:05 +02:00
groot406 7b7bdd9d8f
Use common strings in Powerwall config flow (#41137) 2020-10-03 15:14:36 +02:00
Spartan-II-117 030dd7d476
Use common strings for Google Cast config flow (#41086) 2020-10-03 15:12:17 +02:00
groot406 31ce68e91e
Use common strings for Sentry config flow (#41087) 2020-10-03 15:04:22 +02:00
groot406 20bacb6918
Use reference strings for Zoneminder config flow (#41103) 2020-10-03 15:02:30 +02:00
scheric f1cb8e209e
Use common string in Ring config flow (#41132) 2020-10-03 14:54:27 +02:00
scheric 2a758699e6
Use common strings in Tado config flow (#41128) 2020-10-03 14:51:20 +02:00
scheric 861fe36f5d
Use common strings in zha config flow (#41127) 2020-10-03 14:48:26 +02:00
Jason Madigan 529601eb82
Use reference strings in izone (#41125) 2020-10-03 14:44:38 +02:00
Jason Madigan be41442a86
Use reference strings in Wemo (#41067) 2020-10-03 14:43:30 +02:00
Spartan-II-117 3208670b61
Use common strings for Mikrotik config flow (#41110) 2020-10-03 14:39:18 +02:00
Heine Furubotten cb8d7fe575
Bump azure-servicebus to 0.50.3 (#41106) 2020-10-03 14:19:39 +02:00
groot406 a6136111aa
use common string for "Port" (#41104) 2020-10-03 14:15:52 +02:00
Daniel Perna 8e4b10fb13
Update pyhomematic to 0.1.70 (#41108) 2020-10-03 14:15:11 +02:00
scheric a4b25112ed
Update common Strings (#41131) 2020-10-03 14:14:36 +02:00
Hmmbob 788cb0d1ce
Remove excessive logging (#41120) 2020-10-03 14:13:42 +02:00
Jason Madigan a3fef0f330
Use reference strings in lifx (#41124) 2020-10-03 14:12:52 +02:00
SNoof85 d0a1a6cba5
Update strings.json (#41051) 2020-10-03 14:11:25 +02:00
Jenny 8b30b6b312
Use reference strings for openweathermap (#41055) 2020-10-03 14:11:03 +02:00
Spartan-II-117 4c00ff98ea
Use common Strings for Ambiclimate config flow (#41100) 2020-10-03 13:43:34 +02:00
groot406 01e47a977b
Use common strings for Harmony config flow (#41094)
* Use common strings for harmony component

* Update homeassistant/components/harmony/strings.json

Co-authored-by: springstan <46536646+springstan@users.noreply.github.com>

* use default key for common config flow strings

Co-authored-by: springstan <46536646+springstan@users.noreply.github.com>
2020-10-03 13:31:45 +02:00
Jason Madigan ed867955f4
Use reference strings in sonos (#41122) 2020-10-03 12:02:12 +02:00
Daniel Hjelseth Høyer 16d5c145a9
Spread the load on the Tibber server (#40797)
* Tibber, Spread the load on the server

* start hour
2020-10-03 04:09:29 +02:00
Baptiste Candellier 9611e5223a
Fix SmartHab import flow (#41093) 2020-10-03 03:26:08 +02:00
Alexei Chetroi 9765fc13e8
Bump up ZHA dependency (#41109) 2020-10-02 21:25:50 -04:00
Melvin 414633a129
Use references in Neato translation strings (#41009)
* Replace unexpected_error with unknown key in Neato

* Replace string with reference

* Revert the specific language json files back to unexpected_error

* Use reference for already_configured

* Change invalid_credentials to invalid_auth key

* Use reference for invalid_auth

* Use invalid_auth in the neato test

* Replace abort.invalid_credentials with invalid_auth
2020-10-03 02:42:07 +02:00
Chris Talkington 3a266fa116
Rewrite season sensor tests to pytest style (#40918)
* Update test_sensor.py

* Update test_sensor.py

* Update test_sensor.py

* Update test_sensor.py

* Update test_sensor.py

* Update test_sensor.py

* Update test_sensor.py

* Update test_sensor.py

* fix tests.

* Update sensor.py

* Update test_sensor.py

* fix tests.

* Update sensor.py

* Update test_sensor.py

* Update test_sensor.py

* Update test_sensor.py
2020-10-03 02:24:29 +02:00
springstan a2c3c33b22
Use core GitHub URL in all files (#41089) 2020-10-03 00:04:11 +02:00
SNoof85 005898a0d9
Use reference strings in Huawei LTE (#41011)
* Update strings.json

* Update config_flow.py

* Update test_config_flow.py

* Update strings.json

* Update strings.json

* Update config_flow.py

* Update test_config_flow.py
2020-10-02 22:43:57 +02:00
Maciej Bieniek d3a0743fea
Use reference strings in Abode (#41004)
* Use translation references

* Suggested change

* Remove unused string

* Rename invalid_credentials key

* Fix invalid_auth in manifest.json file
2020-10-02 21:59:55 +02:00
Matej Plavevski a3aee85335
Use reference strings in JuiceNet (#41021)
* Reference Strings for JuiceNet

* Update strings.json

* Add Reference String for API Token
2020-10-02 21:57:26 +02:00
Brian Rogers fdd86edf60
Use common strings for Rachio (#41090) 2020-10-02 21:50:31 +02:00
SNoof85 7492b60325
Use reference strings in Sense (#41046) 2020-10-02 21:47:31 +02:00
SNoof85 f654834d34
Use reference strings in Totalconnect (#41047)
* Update strings.json

* Update config_flow.py

* Update test_config_flow.py
2020-10-02 21:45:49 +02:00
SNoof85 4ab479d48d
Use reference strings in Bsblan (#41049)
* Update strings.json

* Update config_flow.py

* Update test_config_flow.py

* Update strings.json
2020-10-02 21:43:13 +02:00
SNoof85 65611320d4
Use reference strings in Coolmaster (#41066)
* Update strings.json

* Update config_flow.py

* Update test_config_flow.py
2020-10-02 21:17:32 +02:00
SNoof85 135be787e2
Use reference strings in Firmata (#41073) 2020-10-02 21:11:25 +02:00
SNoof85 2e21ef3223
Use reference strings in Flick Electric (#41074) 2020-10-02 21:09:27 +02:00
SNoof85 4158cefeb9
Use reference strings in Flume (#41075) 2020-10-02 21:07:19 +02:00
SNoof85 87c1c16b31
Use reference strings in Garmin Connect (#41076) 2020-10-02 21:05:11 +02:00
SNoof85 e9b70511a2
Use reference strings in Glances (#41078) 2020-10-02 21:03:53 +02:00
SNoof85 c958ec887f
Use reference strings in directv (#41059) 2020-10-02 21:00:00 +02:00
SNoof85 4afeaaedca
Use reference strings in doorbird (#41061) 2020-10-02 20:58:05 +02:00
SNoof85 6a821d6a64
Use reference strings in elgato (#41063)
* Update strings.json

* Update config_flow.py

* Update test_config_flow.py
2020-10-02 20:55:54 +02:00
SNoof85 d282694efe
Use reference strings in Dexcom (#41072)
* Update strings.json

* Update config_flow.py

* Update test_config_flow.py
2020-10-02 20:48:12 +02:00
MatthewFlamm 29d10d3c35
Use already_configured_service in NWS strings (#41062) 2020-10-02 20:40:23 +02:00
SNoof85 8eeaf67cd1
Use reference strings in Griddy (#41079) 2020-10-02 12:24:33 -05:00
Oliver 1ff0f37f3a
Update denonavr to 0.9.5 (#41058) 2020-10-02 19:02:04 +02:00
Samantha bebf5368c1
Add full command details to exception Debug log (#41070) 2020-10-02 12:18:55 -04:00
Davey Chu 08cf400473
Use references in isy994 strings.json (#40990) 2020-10-02 18:07:20 +02:00
Paulus Schoutsen 576fbbe0be
Bump aioshelly to 0.3.4 (#41065) 2020-10-02 15:27:45 +02:00
Maciej Bieniek bba0bb1bad
Fix the name of the translation key for Brother integration (#41054) 2020-10-02 15:06:28 +02:00
djtimca bc8a0209cb
Bump pyvesync to 1.2.0 (#40978) 2020-10-02 12:34:03 +02:00
SNoof85 68aafd4d23
Use reference strings in Wled (#40969) 2020-10-02 12:08:22 +02:00
Davey Chu 8dae2f4308
Use reference strings in forked_daapd (#40989) 2020-10-02 11:55:23 +02:00
Daniel Hjelseth Høyer 708ef3201e
Update config string for Tibber (#41045) 2020-10-02 11:42:26 +02:00
SNoof85 db9110c399
Use reference strings in Vilfo (#41039) 2020-10-02 11:41:21 +02:00
Robert Svensson 552856203b
Clean deCONZ tests to depend less on integration code (#41015) 2020-10-02 11:20:33 +02:00
Daniel Hjelseth Høyer dfe3ee5387
Use reference strings in Tibber (#41038) 2020-10-02 09:17:06 +02:00
Paulus Schoutsen 22b4ad6308
Allow processing data in CoordinatorEntity before writing state (#40926) 2020-10-02 09:16:37 +02:00
Daniel Perna 187fec9a0c
Update pyhomematic to 0.1.69 (#41010) 2020-10-02 09:06:05 +02:00
SNoof85 eeb06da514
Update strings.json (#40994) 2020-10-02 08:48:24 +02:00
Davey Chu f56a750f77
Use references in agent_dvr strings.json (#40999) 2020-10-02 08:47:59 +02:00
MatthewFlamm 9373066cee
Use string references for config flow in NWS (#41007) 2020-10-02 08:47:40 +02:00
Alexei Chetroi f1f23c0453
Better parsing of the ZHA device profile id (#41024) 2020-10-01 21:47:33 -04:00