ehendrix23
2fd6431cff
Allow harmony activity change on start of switching activity ( #36699 )
...
* Allow activity change on start of switch
Allow activity to be updated when a switch to a new activity is initiated instead of when it is completed.
* Updates based on feedback
Some items are not required to be done as YAML is not used anymore.
Cleaned-up some code.
* Fix for change on how to set callbacks
How callbacks are set now one has to set the new_activity and new_activity_starting as well, even just with None.
* Added callback update
Added so that when it is changed in the UI the callbacks will be changed as well.
* Added test cases for notify setting
Added test cases for config flow to test new setting for activity notifications.
2020-06-19 21:50:42 -05:00
Paulus Schoutsen
5642027ffb
Improve after_dependencies handling ( #36898 )
2020-06-19 17:24:33 -07:00
J. Nick Koston
2b5e7c2611
Fix recorder stopping after unserializable state ( #36937 )
...
* Ensure unserializable states do not collapse recording
* augment test coverage
* fix wal mode being set every time
2020-06-19 12:03:06 -05:00
Franck Nijhof
683d960fa5
Add discovery to NUT integration ( #36827 )
...
* Add discovery to NUT integration
* implement async_step_zeroconf
* Update test to make sure unique id not set
* Remove host/port import when coming from discovery, add title placeholders
* fix mis-paste
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-06-19 17:33:01 +02:00
jjlawren
d445c16697
Handle Plex Live TV sessions ( #36919 )
2020-06-19 17:12:47 +02:00
jjlawren
3d1a5f76b2
Fix cert_expiry time-based tests v2 ( #36934 )
2020-06-19 16:19:43 +02:00
Paulus Schoutsen
263bdaa565
Make panel_custom backwards compatible ( #36926 )
2020-06-19 16:03:39 +02:00
jjlawren
6bffd9a892
Fix cert_expiry time-based tests ( #36924 )
2020-06-19 00:26:34 +02:00
Robert Svensson
02e03340df
Light control support to Axis devices ( #36611 )
...
* IR light support to Axis devices
* Change how to read light state
* Add tests
* Bump dependency to v32
* Assert variables passed to set_intensity
2020-06-18 23:27:08 +02:00
jjlawren
e92e26b73a
Add expiration timestamp to cert_expiry sensors ( #36399 )
...
* Add expiration timestamp to cert_expiry sensors
* Clear timestamp if cert becomes invalid
* Use timezone-aware timestamps
* Use DataUpdateCoordinator, split timestamp to separate sensor
* Use UTC, simpler add/remove handling
* Review fixes
* Fix incomplete mock that fails in 3.8
* Use static timestamps, improve helper method name
2020-06-18 18:29:46 +02:00
J. Nick Koston
e7d982ee11
Improve db performance of state change events and reduce overall db size ( #36883 )
...
* Add old_state_id to states, remove old/new state data from events since it can now be found by a join
* remove state lookup on restart
* Ensure old_state is set for exisitng states
2020-06-17 22:26:41 -05:00
Paulus Schoutsen
94132e5572
Add internal/external url to safe mode ( #36894 )
2020-06-17 17:14:48 -07:00
Paulus Schoutsen
903db07feb
Onboarding to validate redirect uri ( #36863 )
2020-06-17 12:13:28 -07:00
jjlawren
d5cc3208af
Discover controllable Plex clients using plex.tv ( #36857 )
2020-06-17 12:04:47 -07:00
Fredrik Erlandsson
b3c851502d
Fix Daikin zeroconf discovery flow error ( #36868 )
2020-06-17 16:53:29 +02:00
bsmappee
5228282f69
Renew Smappee (sensors and switches) ( #36445 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-06-17 13:28:28 +02:00
marawan31
dba326f16b
Add precipitation probability to weather forcast ( #36019 )
...
* Add precipitation probability attribute
* bump env_canada version to 0.0.38 in manifest
* bump env_canada version to 0.0.38 in requirements
* Add support for percipiation probability
* formated project with black
* make sure prob is an int
* fix build break
* update usage to correct naming
* revert bad change and apply fix build break
* add tests
2020-06-17 07:39:33 +02:00
Robert Van Gorkom
a6a6a7b69c
Add Withings webhooks ( #34447 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-06-16 20:16:18 +02:00
starkillerOG
6db5ff98ed
DenonAVR Config Flow ( #35255 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-06-16 14:46:39 +02:00
Kevin Fronczak
a68af0a3a9
Add blink tests ( #36672 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-06-16 11:05:33 +02:00
etheralm
f8de0594b9
Add support for Dyson Pure HP04 purifying heater + fan ( #34537 )
...
* fix unnecesary checks
* change ClimateDevice to ClimateEntity
* Clean up
* Formatting
* Fix tests
* Clean tests
* Clean up tests
* Fix device mock
* Use safer patch target path
* Extract constant
* Remove not needed property
* Guard for missing target temperature
* Use async_mock mocks
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-06-16 05:31:11 +01:00
Zac West
8541ae0360
mobile_app: Camera Stream Webhook ( #36839 )
2020-06-15 19:09:53 -07:00
Paulus Schoutsen
3ee3ae7633
Fix cloudhooks coming in for non existing webhooks ( #36836 )
...
* Fix cloudhooks coming in for non existing webhooks
* Fix tests"
2020-06-15 16:30:40 -07:00
Franck Nijhof
02f174e2e6
Add support for multiple states/zones in conditions ( #36835 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-06-16 00:53:13 +02:00
Erik Montnemery
16cf16e418
Update MQTT tests to not create duplicated config entries ( #36833 )
2020-06-15 15:38:56 -07:00
Paulus Schoutsen
de12c21ce7
Fire config changed event during start ( #36812 )
2020-06-15 15:22:53 -07:00
J. Nick Koston
b8c9f67533
Remove context_id from logbook api ( #36796 )
...
Reduces size of api response, execution, and download time.
2020-06-15 16:13:07 -05:00
Franck Nijhof
ba73ac12ba
Add support for multiple entity_ids in conditions ( #36817 )
2020-06-15 22:54:19 +02:00
J. Nick Koston
0a219081ea
Only process logbook timestamps for events we will keep ( #36792 )
...
* Only process logbook timestamps for events we will keep
Since we group by minute we were previously processing
every timestamp. We can avoid this by making all the
minute checks use the unprocessed datetime since
the groupings will be the same regardless of timezone.
This reduces the number of datetime object recreations
by at least an order of magnitude.
2020-06-15 14:54:20 -05:00
J. Nick Koston
b0163b65c6
Use states to avoid decoding logbook state changed events. ( #36768 )
...
avg 4.43s -> 1.88s
2020-06-15 13:53:05 -05:00
J. Nick Koston
e443dc1274
Speed up logbook with a lazy event decoder ( #36730 )
2020-06-15 10:53:38 -07:00
Franck Nijhof
3cc94f7d6a
ConfigFlow default discovery without unique ID ( #36754 )
2020-06-15 13:38:38 +02:00
Paulus Schoutsen
dfac9c5e03
Fix TTS key by hashing options values too ( #36813 )
2020-06-15 13:33:26 +02:00
Ian Harcombe
c96458c7e4
Convert MetOffice to use UI for configuration ( #34900 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-06-15 12:02:25 +02:00
Tom Schneider
0331ebdd47
Add HVV integration (Hamburg public transportation) ( #31564 )
...
Co-authored-by: springstan <46536646+springstan@users.noreply.github.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-06-15 00:15:20 +02:00
J. Nick Koston
9cc20fc6b8
Fix history graphs with mysql/mariadb ( #36769 )
2020-06-13 21:22:16 -07:00
Robert Van Gorkom
bdd255176c
Poll all status data in Vera ( #35703 )
...
* Vera now polls for all status data, no only incremental.
Vera polling is not handled using hass event loops with proper backoffs.
* Using long polling.
* Addressing PR feedback.
* Addressing PR feedback.
Adding controller stop on config unload.
2020-06-13 16:36:50 +02:00
Erik Montnemery
922b332766
Update config_entry_flow test test_user_has_confirmation ( #36633 )
...
* Update test_user_has_confirmation
* Rewrite test according to review comment
2020-06-13 06:43:13 +02:00
Paulus Schoutsen
1ffa8fcbba
Platforms cleanup when adding entity fails ( #36742 )
2020-06-12 17:54:46 -07:00
Franck Nijhof
238430136e
Migrate script to use describe_event for logbook ( #36729 )
2020-06-12 16:44:29 -07:00
mdegat01
f9bc0c9dab
Add influx 2.0 and InfluxCloud support to InfluxDB integration ( #35392 )
2020-06-12 21:29:46 +02:00
Franck Nijhof
bf95658e24
Fix logbook filtering for described events ( #36727 )
2020-06-12 20:45:17 +02:00
Fredrik Erlandsson
c1cf3679aa
Fix Daikin discovery ( #36704 )
2020-06-12 17:25:18 +02:00
Alexei Chetroi
5595ef0783
Drop ZHA sensor for Analog/Multistate input clusters ( #36696 )
2020-06-12 06:08:11 -04:00
Alexei Chetroi
5a3e0c6b25
Cleanup zha.storage from stale devices ( #36700 )
2020-06-12 06:07:34 -04:00
Paulus Schoutsen
a8e9ccbf1a
Improve cloud error handling ( #36670 )
2020-06-11 22:56:00 -07:00
MarBra
44708ed8bb
Add timers to xiaomi_miio vacuum ( #35417 )
...
* Add timers to xiaomi_miio vacuum
* Add timezone
* Add cron and next_schedule
* Use next_schedule from backend library
* Use as_utc from utils
2020-06-12 06:39:19 +02:00
jjlawren
d4d233536f
Fix missing options in Plex config entry ( #36683 )
2020-06-11 15:45:00 -07:00
Alexei Chetroi
21acdbbbfd
Refactor ZHA Entity availability tracking ( #36645 )
...
* Refactor ZHA entity availability
ZHA entity availability tracks on underlying ZHA device availability.
* Update device status without signal.
* Update tests.
* Fix tests.
* Tests for restored devices availability.
* Guard against empty last_seen entry
Refactor device loading a bit.
2020-06-11 17:21:08 -04:00
Franck Nijhof
0146f35687
Fix packages when config schema is fully deprecated ( #36674 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-06-11 10:59:52 -07:00
J. Nick Koston
2d5faaf3f8
Remove powerwall attributes no longer present in latest firmware ( #36667 )
2020-06-11 10:15:02 -07:00
Janitha Karunaratne
f1d5f95f7c
Allow specifying port for wake_on_lan ( #36510 )
2020-06-11 00:05:24 +02:00
Erik Montnemery
14bff5a375
Abort other config flows on import ( #36608 )
...
* Abort other flows on import
* Add test
2020-06-10 22:46:14 +02:00
Rami Mosleh
2c1a76cf92
Add Speedtestdotnet config_flow ( #36254 )
2020-06-10 18:33:48 +02:00
Xiaonan Shen
c65e72886c
Fix command line sensors removing quotes with template ( #35559 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-06-10 18:31:59 +02:00
Fredrik Erlandsson
fa17e6d5ab
Fix Daikin config flow for zeroconf devices ( #36571 )
2020-06-10 15:04:59 +02:00
SukramJ
212b9df87d
Bump dependency & add devices for HomematicIP Cloud ( #36595 )
...
* update dependency and test data
* Add test for HmIP-SWDO-PL
* Add device HmIP-MOD-HO
* Fix test
2020-06-10 11:34:14 +02:00
Paulus Schoutsen
8f3c84b349
Mark config dependency of frontend ( #36587 )
2020-06-09 23:27:47 -07:00
Ville Skyttä
29b8f76e57
Use past tense in messages for already invalidated deprecated configs ( #36591 )
2020-06-09 23:26:55 -07:00
Franck Nijhof
2abd3844cf
Fix mobile_app missing state in sensor registration ( #36604 )
2020-06-09 11:06:52 -07:00
mreiling
5f8dcd45c1
Add NX584 alarm binary_sensor zone_number attribute ( #36552 )
2020-06-09 14:19:46 +02:00
Paulus Schoutsen
c33edbe5bb
Use TestCase.addCleanup ( #36560 )
2020-06-08 12:26:40 -07:00
Franck Nijhof
85ba29012f
Fix mobile_app sensor re-registration handling ( #36567 )
2020-06-08 21:11:37 +02:00
StevusPrimus
5975ec340b
Add service select scene to Yamaha Hifi media player ( #36564 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-06-08 19:31:58 +02:00
Franck Nijhof
b3cbce3566
Fix mobile_app registering/update sensor values with an unknown state ( #36566 )
2020-06-08 10:07:05 -07:00
Jonas Thuresson
f522c6c8c7
Add Xiaomi miio vaccum goto service ( #35737 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-06-08 14:57:47 +02:00
Alexei Chetroi
1bdbe90d2a
Prevent double ZHA channel initialization ( #36554 )
...
* Preven double channel initialization.
* Use a setter for setting ZHA device availability.
2020-06-08 08:54:52 -04:00
Franck Nijhof
215c7e0e14
Fix WLED power and brightness with WLED 0.10+ ( #36529 )
2020-06-07 23:37:58 +02:00
Erik Montnemery
35cd6b9abf
Remove unused parameter for MQTT discovery ( #36526 )
...
* Remove unused parameter for MQTT discovery
* Fix tests
2020-06-07 19:35:35 +02:00
Jeff Irion
823f27db5a
Fix usage of states 'idle' and 'standby' for Android TV ( #36509 )
2020-06-07 10:10:20 -05:00
definitio
ad5101c5c0
Set state for MQTT entities to 'unavailable' when no connection to broker ( #36479 )
...
* Report 'unavailable' state when not connected
to MQTT broker
* Fix tests
* Rewrite to remove the polling
* Add tests
* Add some fixes
2020-06-07 09:21:16 +02:00
Joakim Plate
31973de2d5
Arcam config flow ( #34384 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-06-06 13:43:28 -07:00
Tim van Cann
d73a4e1ed5
Add Avri config flow ( #34288 )
...
* Add config flow to Avri integration
* Add config flow validation
* Update .coveragerc
* Start adding config flow tests
* Fix failing test
* Fix pylint
* Update homeassistant/components/avri/config_flow.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* Update homeassistant/components/avri/config_flow.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* Fix import order
* Code review comments
* Update homeassistant/components/avri/sensor.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* Remove device information
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-06-06 09:37:31 -05:00
Thomas Lovén
bdc098645b
Add entity list to light and cover group attributes ( #36477 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-06-05 21:23:52 -07:00
J. Nick Koston
5e65d8d3c3
Upgrade zeroconf to 0.27.1 ( #36277 )
2020-06-05 14:33:26 -07:00
Alexei Chetroi
1c329ff708
Process events from ZHA Window Covering Remote ( #36489 )
2020-06-05 14:11:46 -07:00
Aaron Bach
b51d81edba
Clean up Tile refactor ( #36450 )
...
* Clean up Tile refactor
* Code review
2020-06-05 21:12:48 +02:00
Paulus Schoutsen
6faf9e8bbe
panel_custom: Allow ES5+latest build, deprecate html ( #36464 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-06-05 10:39:18 -07:00
Paulus Schoutsen
4170eb0f83
Use builtin mock ( #36473 )
2020-06-05 10:59:55 +02:00
Erik Montnemery
f170c80bea
Bump pychromecast to 6.0.0 ( #36414 )
...
* Revert "Prevent race in pychromecast.start_discovery (#36350 )"
This reverts commit 391983a0cf
.
* Adapt to pychromecast 6.0.0
2020-06-04 20:32:00 +02:00
Aaron Bach
7a3c2e1f6c
Add config flow for Tile ( #36173 )
...
* Overhaul Tile
* Adjust coverage
* Fix tests
* Code review
* Code review
* Remove unused config flow step
* Revert "Remove unused config flow step"
This reverts commit cb206e0446
.
* Fix tests
2020-06-04 10:07:27 -06:00
Paulus Schoutsen
fae80621fb
Guard blowing up converting 0 mired/kelvin ( #35486 )
2020-06-04 08:48:39 -07:00
Robert Svensson
99318b7b11
Remove Axis option to enable/disable camera ( #36420 )
2020-06-04 14:25:50 +02:00
Paulus Schoutsen
68b077ffaa
Add partial mobile app sensor validation ( #36433 )
2020-06-04 10:13:01 +02:00
J. Nick Koston
751e2f4125
Extend logbook api to be able to fetch a slice of data between two time boundaries. ( #35847 )
...
* Create logbook_timeslice api
* add end_datetime
* Add tests
* switch to end_time to match history api
2020-06-03 14:07:56 -05:00
Andre Lengwenus
2b5bb8dac0
Cover group considers opening and closing states ( #36203 )
2020-06-03 18:44:04 +02:00
Austin Mroczek
98a056f7a9
Notify user if arming or disarming totalconnect alarm fails ( #36085 )
2020-06-03 18:38:31 +02:00
jjlawren
9aac8482d5
Remove deprecated Plex YAML config ( #36388 )
2020-06-03 09:20:21 -07:00
uvjustin
660265fe50
Swap title and album name for streams in forked_daapd ( #36381 )
2020-06-03 09:51:15 -06:00
Franck Nijhof
0950ab0dd8
Fix dynamically add/remove WLED strip segments ( #36407 )
2020-06-03 17:18:50 +02:00
Maciej Bieniek
465b98513b
Add config flow to Dune HD ( #36345 )
...
* Add config_flow to the dunehd integration
* Add tests
* Run gen_requirements_all
* Fix pylint error
* Better hostname validation
* Build device info in the class
2020-06-03 07:01:56 -05:00
Robert Van Gorkom
fcef259021
Prefer use cloud url for oauth2 for Withings ( #36348 )
2020-06-03 12:40:46 +02:00
Boris Kaplounovsky
2f6ffe7068
Fix json overwriting if you have >1 PS4 connected ( #35778 )
2020-06-02 17:55:55 -07:00
Markus Bong
e94228fddf
Use show_advanced_options in devolo home control ( #35360 )
2020-06-02 17:52:36 -07:00
Franck Nijhof
d2e6b863b7
Upgrade wled 0.4.1 ( #36091 )
2020-06-03 02:29:49 +02:00
J. Nick Koston
eedbb86b67
Fix flapping buienradar tests ( #36394 )
2020-06-02 18:54:58 -05:00
Brynley McDonald
5d6a563ac7
Implement Google Assistant media traits ( #35803 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-06-02 16:20:59 -07:00
J. Nick Koston
5f4fdaa171
Remove zeroconf options from homekit ( #35687 )
...
* Remove zeroconf options from homekit
homekit uses the system shared zeroconf instance which
made the interface choice option controlled by the
zeroconf integration setting.
* change to cv.deprecated
* adj
* fix remaining tests from original merge conflict
* remove invalidation_version
2020-06-02 17:47:39 -05:00
jjlawren
44d7169642
Fix flaky Plex test ( #36391 )
2020-06-02 17:37:10 -05:00
J. Nick Koston
00387bf870
Make the frontend available sooner (Part 2 of 2) ( #36264 )
...
* Part 1 of 2 (no breaking changes in part 1).
When integrations configured via the UI block startup or fail to start,
the webserver can remain offline which make it is impossible
to recover without manually changing files in
.storage since the UI is not available.
This change is the foundation that part 2 will build on
and enable a listener to start the webserver when the frontend
is finished loading.
Frontend Changes (home-assistant/frontend#6068 )
* Part 1 of 2 (no breaking changes in part 1).
When integrations configured via the UI block startup or fail to start,
the webserver can remain offline which make it is impossible
to recover without manually changing files in
.storage since the UI is not available.
This change is the foundation that part 2 will build on
and enable a listener to start the webserver when the frontend
is finished loading.
Frontend Changes (home-assistant/frontend#6068 )
* Part 2 of 2 (breaking changes in part 2).
When integrations configured via the UI block startup or fail to start,
the webserver can remain offline which make it is impossible
to recover without manually changing files in
.storage since the UI is not available.
This change is the foundation that part 2 will build on
and enable a listener to start the webserver when the frontend
is finished loading.
* bump timeout to 1800s, adjust comment
* bump timeout to 1800s, adjust comment
* bump timeout to 4h
* bump timeout to 4h
* remove timeout failsafe
* remove timeout failsafe
* and the test
* and the test
* find the test that needs mocking
* find the test that needs mocking
* Revert "find the test that needs mocking"
This reverts commit 064e7787a8e9bc65df965530726fa1c41f8bcd36.
* Revert "find the test that needs mocking"
This reverts commit 064e7787a8e9bc65df965530726fa1c41f8bcd36.
* fix the one that was missed due to the conflict
2020-06-02 17:02:09 -05:00