Robert Hillis
619c1f014b
Remove deprecated yaml config from trafikverket_weatherstation ( #68336 )
2022-03-18 19:33:01 +01:00
jjlawren
dbb79e2937
Add support for Sonos subwoofer gain controls ( #68334 )
2022-03-18 10:12:10 -07:00
Allen Porter
41a032e3e3
Add diagnostics to stream's Stream objects ( #68020 )
...
* Add diagnostics to stream's Stream objects
Add diagnostics key/value pair to the Stream object. Diagnostics support
in camera integration will be added in a follow up and will access the
diagnostics on the Stream object, similar to the examples in the unit
test.
* Rename to audio/video codec
* Fix test codec names
* Update tests/components/stream/test_worker.py
Co-authored-by: uvjustin <46082645+uvjustin@users.noreply.github.com>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: uvjustin <46082645+uvjustin@users.noreply.github.com>
2022-03-18 07:40:09 -07:00
Franck Nijhof
2686be921c
Remove deprecated (old) Z-Wave integration ( #67221 )
...
* Remove deprecated (old) Z-Wave integration
* Mark migration tests as skip, for later cleanup
2022-03-18 13:09:10 +01:00
Simone Chemelli
35261a9089
Add switch platform to UptimeRobot ( #65394 )
...
* Add switch platfor mto UptimeRobot
* Add tests
* Apply review comment
* review comments part 2
* review comments part 3
* Fix tests after swapping logic on/off
* Fix reauth test
* Check for read-only key
* Fix reauth for switch platform
* mypy
* cleanup
* cleanup part 2
* Fixes + review comments
* Tests
* Apply more review comments
* Required changes
* fix test
* Remove if
* 100% tests coverage
* Check readonly key in config_flow
* Fix strings & translation
* Add guard for 'monitor' keys
* allign tests
* Wrong API key message reworded
2022-03-18 12:18:19 +01:00
Erik Montnemery
5bb271c9fb
Add config flow for derivative sensor ( #68268 )
2022-03-18 12:14:38 +01:00
J. Nick Koston
9215702388
Separate attrs into another table (reduces database size) ( #68224 )
2022-03-18 00:23:13 -10:00
Erik Montnemery
d7145095ef
Tweak selectors ( #68267 )
...
* Optionally don't convert output of duration and time selectors
* Allow number selector selection to be None
* Never convert output of duration and time selectors
* Revert "Allow number selector selection to be None"
This reverts commit b6f52c1e83
.
2022-03-18 10:26:05 +01:00
Erik Montnemery
2fcced333d
Add config flow for sun ( #68295 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-03-18 10:12:15 +01:00
J. Nick Koston
bc862e97ed
Use a dedicated executor pool for database operations ( #68105 )
...
Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-03-17 23:09:01 -10:00
Erik Montnemery
0655ebbd84
Add config flow for integration sensor ( #68288 )
2022-03-18 09:52:17 +01:00
Paulus Schoutsen
ad1e43e083
Add support for variables on trigger ( #68275 )
2022-03-18 09:25:22 +01:00
J. Nick Koston
95f20500ca
Commit any pending changes before running non-EventTasks in the recorder ( #68287 )
2022-03-17 21:33:22 -07:00
Dave T
490c921763
Don't access hass.data directly in generic camera test. ( #68316 )
2022-03-17 14:29:21 -10:00
Steven Looman
f006cffac6
Bump async-upnp-client to 0.27.0 ( #68310 )
2022-03-17 12:32:46 -10:00
jjlawren
b34da1294c
Improve Plex media search failure feedback ( #67493 )
2022-03-17 13:57:22 -07:00
jjlawren
f75d621888
Normalize enqueuing Plex media on Sonos ( #68132 )
2022-03-17 13:52:59 -07:00
Malte Franken
a8dae97917
Migrate geo_json_events to async library ( #68236 )
...
* use async integration library
* migrating to async library
* migrating tests to async library
* renamed method and fixed comment
* removed callback annotation
* use async dispatcher
2022-03-17 20:40:43 +01:00
Marc Mueller
8f69d31322
Make TypeVars private (3) ( #68207 )
2022-03-17 19:11:14 +01:00
Myles Eftos
38d8332e92
Add amberelectric price descriptors ( #67981 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-03-17 10:15:47 +01:00
Paulus Schoutsen
aabfa08834
Add if subscription is active to cloud status ( #68266 )
2022-03-17 09:51:07 +01:00
epenet
d6f5f0c794
Bump samsungtvws to 2.4.0 ( #68225 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-16 20:44:14 -10:00
Paulus Schoutsen
f6af93ae35
Add support for menu step ( #68203 )
2022-03-16 14:14:50 -07:00
Paulus Schoutsen
984e30075b
Validate TTS base url ( #68212 )
...
* Validate TTS base url
* Update tests/components/tts/test_init.py
Co-authored-by: Joakim Plate <elupus@ecce.se>
Co-authored-by: Joakim Plate <elupus@ecce.se>
2022-03-16 10:18:55 +01:00
Francois Chagnon
21aa07e3e5
Add Z-Wave thermostat fan entity ( #65865 )
...
* Add Z-Wave thermostat fan entity
* Fix failing test, increase number of entities to 27
* Add tests to improve coverage
* Take back unrelated changes to climate.py
* Clean up guard clauses, use info.primary_value, and make entity disabled by default
* Fix tests
* Add more tests for code coverage
* Remove unused const
* Remove speed parameter from overridden method since it was removed from entity
* Address PR comments
2022-03-15 22:17:51 -04:00
J. Nick Koston
4b963c2ac0
Add diagnostics support to nexia ( #68215 )
2022-03-15 15:55:08 -10:00
Joakim Sørensen
6f61ed8799
Add backup platform support ( #68182 )
2022-03-15 14:46:02 -07:00
J. Nick Koston
65c670c2c7
Add diagnostics to august ( #68157 )
2022-03-15 19:05:56 +01:00
Robert Svensson
4bb52297a6
Replace hass helper calls in deCONZ device trigger tests ( #68197 )
2022-03-15 18:51:12 +01:00
Erik Montnemery
46f27fdefd
Don't prevent automations from triggering themselves ( #68178 )
2022-03-15 18:48:54 +01:00
Erik Montnemery
b99934f62f
Small tweaks of group tests ( #68196 )
2022-03-15 18:39:18 +01:00
Erik Montnemery
f026245cb4
Small tweaks of switch_as_x tests ( #68195 )
2022-03-15 18:34:46 +01:00
Erik Montnemery
d360ac91ca
Disable recorder nightly jobs in tests ( #68188 )
2022-03-15 09:23:52 -07:00
Erik Montnemery
34eb4aa2d0
Exclude hidden entities from targets ( #68149 )
2022-03-15 08:42:22 -07:00
Erik Montnemery
8ea31cea3a
Fix deadlock when stopping queued script ( #68175 )
2022-03-15 08:29:04 -07:00
Erik Montnemery
1a27025793
Prevent spawning script runs when shutting down ( #68170 )
2022-03-15 12:46:58 +01:00
Franck Nijhof
f7cb10e2f5
Update twentemilieu to 0.6.0 ( #68171 )
2022-03-15 12:05:15 +01:00
Tom
66f506557f
Prevent adding plugwise products used as secondary controllers ( #68098 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-03-15 08:53:53 +01:00
epenet
125ab5eb2b
Handle ConnectionClosed in SamsungTV try_connect ( #68125 )
...
* Handle ConnectionClosed in SamsungTV try_connect
* Add tests
* Add quotes around the error message
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-15 08:20:24 +01:00
Allen Porter
7876ffe9e3
Update google calendar integration with a config flow ( #68010 )
...
* Convert google calendar to config flow and async
* Call correct exchange method
* Fix async method and reduce unnecessary diffs
* Wording improvements
* Reduce unnecessary diffs
* Run load/update config from executor
* Update homeassistant/components/google/calendar.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Remove unnecessary updating of unexpected multiple config entries.
* Remove unnecessary unique_id checks
* Improve readability with comments about device code expiration
* Update homeassistant/components/google/calendar.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/google/calendar.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/google/api.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Add comment for when code is none on timeout
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-03-15 07:51:02 +01:00
Erik Montnemery
f134219c74
Minor tweak of config entity_registry test ( #68141 )
2022-03-14 23:07:52 +01:00
J. Nick Koston
9d6e1ab0e5
Ensure flux_led is reloaded when the title changes ( #68146 )
2022-03-14 22:55:52 +01:00
J. Nick Koston
59c4c75915
Ensure WiZ is reloaded on title change ( #68147 )
2022-03-14 22:52:27 +01:00
Paulus Schoutsen
a9fd744247
Add media source support to unifiprotect ( #67570 )
2022-03-14 10:16:22 -10:00
Erik Montnemery
7fc0ffd5c5
Restore state of trigger based template binary sensor ( #67538 )
2022-03-14 12:28:55 -07:00
Erik Montnemery
314175135f
Hide switch_as_x tracked entity ( #67949 )
...
* Hide switch_as_x tracked entity
* Hide wrapped switch during config flow
* Allow setting/getting entity disabled by via WS
* Adjust tests
* Improve test coverage
* Improve tests
2022-03-14 19:39:07 +01:00
J. Nick Koston
8a8d7741d5
Fix Magic Home devices with multiple network interfaces ( #68029 )
2022-03-14 19:38:54 +01:00
Franck Nijhof
ed6466f706
Add Lock platform to Switch as X ( #68123 )
...
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-03-14 10:45:45 -07:00
Robert Svensson
362191a0e6
Add typing of deCONZ device_trigger ( #67496 )
2022-03-14 17:37:48 +01:00
Franck Nijhof
57c33a5cf0
Remove deprecated OpenZWave integration ( #68054 )
2022-03-14 17:33:04 +01:00
Franck Nijhof
344537d0a8
Add Fan platform to Switch as X ( #68122 )
2022-03-14 15:07:21 +01:00
Franck Nijhof
ed6c86a281
Add siren platform to Switch as X ( #68118 )
...
* Add siren platform to Switch as X
* Clarify inline test documentation
* Clarify inline test documentation
2022-03-14 13:55:06 +01:00
Franck Nijhof
c70c699af0
Add cover platform to Switch as X ( #68107 )
2022-03-14 11:59:55 +01:00
Franck Nijhof
6aacaa744e
Only create WLED current sensors when available ( #68116 )
2022-03-14 11:49:16 +01:00
Franck Nijhof
a29afc3731
Clean up Whois tests use entity_registry_enabled_by_default fixture ( #68113 )
2022-03-14 11:41:56 +01:00
Franck Nijhof
dfdf5f2583
Add fixture for enabling disabled entities in WLED tests ( #68087 )
2022-03-14 09:50:55 +01:00
Jeef
cea21a00b3
Add intellifire UDP discovery at configuration start ( #67002 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-03-13 20:58:55 -10:00
J. Nick Koston
b18096fc54
Remove unused columns from states/events tables ( #68078 )
2022-03-13 23:44:55 -07:00
Tom
b138a759b6
Update plugwise module to 0.16.8 ( #68082 )
2022-03-13 19:37:59 +01:00
Franck Nijhof
25f2e4bd99
Small improvements for Switch as X ( #68079 )
...
* Small improvements forr Switch as X
* Test improvements
* Remove intregration tests from config flow test
2022-03-13 19:34:02 +01:00
Franck Nijhof
c35aaef980
Fix Efergy tests ( #68086 )
2022-03-13 16:32:56 +02:00
Brandon Rothweiler
0bd65db31c
Add switch platform to the Mazda integration ( #68025 )
2022-03-12 16:32:35 -10:00
Steve Easley
a2ce395fc6
Add remote platform to Kaleidescape integration ( #67959 )
2022-03-12 14:10:45 -10:00
Mike Fugate
e59bf4f3af
Migrate SleepIQ unique IDs that are using sleeper name instead of sleeper ID ( #68062 )
2022-03-12 12:54:26 -10:00
Mike Fugate
6831be67f4
Add number entities to control SleepIQ actuator positions ( #67770 )
2022-03-12 09:58:03 -10:00
J. Nick Koston
8e3454e46a
Remove legacy compatiblity for camera platforms that do not support width/height ( #68039 )
...
- async_camera_image or camera_image must accept the width and
height arguments
2022-03-12 20:47:14 +02:00
jan iversen
1a79118600
Fix modbus reload service ( #68040 )
...
* Fix modbus reload service.
* Please coverage.
* Resolve difference between local pytest and github.
2022-03-12 14:12:38 +02:00
J. Nick Koston
a851921fe6
Filter IPv6 addresses from doorbird discovery ( #68031 )
2022-03-12 02:09:02 -10:00
Franck Nijhof
0467dc55fe
Add config flow to Uptime ( #67408 )
2022-03-12 12:36:08 +01:00
epenet
23b8229143
Adjust ms.remote.control error logging in SamsungTV ( #67988 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-12 01:20:04 -10:00
J. Nick Koston
0d8f649bd6
Websocket api to subscribe to entities (payloads reduced by ~80%+ vs state_changed events) ( #67891 )
2022-03-11 20:54:49 -08:00
Brandon Rothweiler
5d2a65bb21
Add binary sensors to Mazda integration ( #64604 )
2022-03-11 16:32:47 -10:00
jan iversen
d2e5c85429
Remove pragma from discover check. ( #68002 )
2022-03-11 19:58:18 +02:00
jan iversen
306498378c
Coverage 100% of Modbus climate ( #67396 )
...
* Coverage 100% of climate.py
* Allow 100% test.
2022-03-11 19:14:40 +02:00
Erik Montnemery
8948bada58
Add switch_as_x entity to wrapped switch's device ( #67961 )
2022-03-11 09:46:32 +01:00
Erik Montnemery
e43c8b513e
Listen to entity registry events for wrapped switch in switch_as_x ( #67962 )
...
* Listen to entity registry events for wrapped switch in switch_as_x
* Simplify test
2022-03-10 21:26:35 +01:00
Erik Montnemery
65fbcfa0ba
Prevent recursive script calls from deadlocking ( #67861 )
...
* Prevent recursive script calls from deadlocking
* Address review comments, improve tests
* Tweak comment
2022-03-10 19:28:00 +01:00
Erik Montnemery
3d212b868e
Address review comments on switch_as_x tests ( #67951 )
...
* Address review comments on switch_as_x tests
* Correct test
* Move test instead of duplicating it
2022-03-10 17:23:16 +01:00
Erik Montnemery
ee38dbd698
Add helper to set name of helper config entries ( #67950 )
2022-03-10 16:18:26 +01:00
Erik Montnemery
4e7d4db7ae
Align selectors with frontend updates ( #67906 )
...
* Align selectors with frontend updates
* Drop metadata from MediaSelector selection
* Adjust blueprint tests
* Address review comments
* Add tests for new selectors
* Don't stringify input
* Require min+max for number selector in slider mode
* vol.Schema does not like static methods
* Tweak
2022-03-10 16:17:59 +01:00
Steve Easley
ab4aa835d1
Add sensor platform to Kaleidescape ( #67884 )
2022-03-10 09:15:53 -06:00
Erik Montnemery
cb7e492e81
Add switch_as_x integration ( #67878 )
...
* Add switch_as_x integration
* Address review comments
* Add translation strings
* Rename entity_type option to target_domain
* Move LightSwitch class definition to switch_as_x/light.py
* Update manifest
* Move tests
2022-03-10 12:23:01 +01:00
Erik Montnemery
5ae48bcf74
Add config flow for binary_sensor group ( #67802 )
...
* Add config flow for binary_sensor group
* Address review comments
* Remove device class selection from flow
* Update translation strings
2022-03-10 10:39:51 +01:00
Álvaro Fernández Rojas
542c3cbf90
Address late Airzone PR comments and fix Fahrenheit temperatures ( #67904 )
...
* airzone: address late PR comments
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* airzone: fix fahrenheit temperatures
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* airzone: add changes suggested by @MartinHjelmare
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2022-03-09 20:51:39 +01:00
Shay Levy
eee0c5372c
Use import instead of hass in Shelly tests ( #67909 )
2022-03-09 19:29:20 +01:00
Franck Nijhof
a8ad9fc5f4
Mock Radio Browser entry setup in onboarding tests ( #67905 )
2022-03-09 06:41:14 -08:00
Erik Montnemery
e7fba46a06
Refactor helper_config_entry_flow ( #67895 )
2022-03-09 13:18:19 +01:00
Raman Gupta
2791cd68c2
Timer code cleanup ( #67604 )
2022-03-09 10:42:07 +01:00
J. Nick Koston
723dcbafca
Complete fan speed transition from #59781 ( #67743 )
2022-03-09 10:38:12 +01:00
Brandon Rothweiler
2fc100926f
Add button entities to Mazda integration ( #67597 )
2022-03-09 04:16:07 +01:00
Álvaro Fernández Rojas
8549e31b27
Add Airzone HVAC Zoning Systems ( #67666 )
2022-03-08 22:28:39 +01:00
epenet
9ab56bd5c8
Allow discovery to update invalid unique_id in SamsungTV ( #67859 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-08 22:27:53 +01:00
Allen Porter
8adcd10f55
Make google calendar loading API centric, not loading from yaml ( #67722 )
...
* Make google calendar loading API centric, not loading from yaml
Update the behavior for google calendar to focus on loading calendars based on the
API and using the yaml configuration to override behavior. The old behavior was
to first load from yaml, then also load from the API, which is atypical.
This is pulled out from a larger change to rewrite calendar using async and config
flows.
Tests needed to be updated to reflect the new API centric behavior, and changing
the API call ordering required changing tests that exercise failures.
* Update to use async_fire_time_changed to invoke updates
2022-03-08 21:56:49 +01:00
Jan Bouwhuis
e574a3ef1d
Add MQTT notify platform ( #64728 )
...
* Mqtt Notify service draft
* fix updates
* Remove TARGET config parameter
* do not use protected attributes
* complete tests
* device support for auto discovery
* Add targets attribute and support for data param
* Add tests and resolve naming issues
* CONF_COMMAND_TEMPLATE from .const
* Use mqtt as default service name
* make sure service has a unique name
* pylint error
* fix type error
* Conditional device removal and test
* Improve tests
* update description has_notify_services()
* Use TypedDict for service config
* casting- fix discovery - hass.data
* cleanup
* move MqttNotificationConfig after the schemas
* fix has_notify_services
* do not test log for reg update
* Improve casting types
* Simplify obtaining the device_id
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* await not needed
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Improve casting types and naming
* cleanup_device_registry signature change and black
* remove not needed condition
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-03-08 16:27:18 +01:00
epenet
d12118a425
Fix reauth trigger in SamsungTV ( #67850 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-08 11:02:00 +01:00
Shay Levy
2d4d18ab90
Add Shelly gen2 cover support ( #67705 )
...
* Add Shelly gen2 cover support
* Make status property
2022-03-08 11:58:08 +02:00
J. Nick Koston
bfe94f1cc5
Fix profiler dumping object when repr fails ( #67674 )
...
* Fix profiler dumping object when repr fails
* cover
2022-03-08 10:33:08 +01:00
epenet
36049ac514
Batch send commands in SamsungTV ( #67847 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-08 10:10:17 +01:00
Lester Lo
56abd5f2cf
Add homekit pm type sensor ( #46060 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-03-08 08:37:20 +01:00
epenet
6f38eda114
Adjust power_off for TheFrame in SamsungTV ( #67841 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-08 08:20:58 +01:00
epenet
5b23b9a617
Adjust get_mac routine in SamsungTV ( #67804 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-08 07:54:12 +01:00
epenet
2d4ccddd99
Fix SSDP unique id in SamsungTV config flow ( #67811 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-03-08 07:53:59 +01:00
epenet
1793c29fac
Move key sequences to bridge in SamsungTV ( #67762 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-08 07:46:34 +01:00
Aaron Godfrey
d302b0d14e
Fix todoist parsing due dates for calendar events ( #65403 )
2022-03-07 22:00:39 -08:00
J. Nick Koston
c9ac0b49f6
Prevent scene from restoring unavailable states ( #67836 )
2022-03-07 20:43:19 -08:00
J. Nick Koston
a75bbc79a2
Prevent polling from recreating an entity after removal ( #67750 )
2022-03-07 20:42:16 -08:00
Joakim Sørensen
6b3b21bcfd
Revert "Add update integration ( #66552 )" ( #67641 )
2022-03-07 15:52:15 -08:00
Steve Easley
ea82f2e293
Add Kaleidescape integration ( #67711 )
2022-03-08 00:16:43 +01:00
epenet
c70bed86ff
Adjust websocket bridge logging in SamsungTV ( #67809 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-07 23:31:57 +01:00
Franck Nijhof
9d42a425fc
Add config flow to Season ( #67413 )
2022-03-07 18:58:29 +01:00
J. Nick Koston
f268191985
Handle fan_modes being set to None in homekit ( #67790 )
2022-03-07 09:10:38 -08:00
Jan Bouwhuis
98adeb6070
Fix false positive MQTT climate deprecation warnings for defaults ( #67661 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-03-07 15:38:33 +01:00
Erik Montnemery
a9cc2d2322
Add config flow for cover, fan, light and media_player groups ( #67660 )
...
* Add options flow support to HelperConfigFlowHandler
* Add config flow for cover, fan, light and media_player groups
* Update according to review comments
* Update translation strings
* Update translation strings
* Copy schema before adding suggested values
2022-03-07 13:05:04 +01:00
Joakim Sørensen
9a6f5bbc04
Update whoami URL ( #67793 )
2022-03-07 11:11:25 +01:00
Joakim Plate
e8c05298ba
Remove rfxtrx signal repetition ( #67675 )
2022-03-06 10:29:20 +01:00
J. Nick Koston
26c5dca45d
Ensure elkm1 can be manually configured when discovered instance is not used ( #67712 )
2022-03-06 00:02:22 -08:00
Mike Fugate
cc9fd2bcba
Add firmness number entity to SleepIQ ( #65841 )
2022-03-05 11:45:56 -10:00
Raman Gupta
9632cbeffa
Improve zwave_js custom triggers and services ( #67461 )
...
* Improve zwave_js custom triggers and services
* Switch from pop to get
* Support string boolean values
* refactor and add coverage
* comments and additional assertions
2022-03-05 09:00:31 +01:00
epenet
c5f7e7d1b0
Refactor run app in SamsungTV ( #67616 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-04 14:37:27 -10:00
Simone Chemelli
777ae584d4
Add unique_id to Fritz diagnostics ( #67384 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-03-04 14:43:33 -08:00
epenet
9db3e321e4
Add message for unsupported models in samsungtv ( #67549 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-04 12:06:15 -10:00
Erik Montnemery
0c12914548
Add config flow for switch.light ( #67447 )
...
* Add config flow for switch.light
* Refactor according to code review
* Setup light switch from config entry
* Improve async_resolve_entity
* Prepare for multiple steps
* Remove name and options flow from switch light
* Check type before adding description to schema keys
* Remove options flow enabler
* Copy name from the switch
* Move helper flows to new file
* Improve test coverage
* Fix name
* Remove dead code from abstract method
* Remove manifest 'helper' option
* Validate registry entry id before forwarding to light platform
* Improve test
* Add translations
* Improve config entry setup
* Log when config entry fails setup
* Update homeassistant/components/switch/__init__.py
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-03-04 20:02:17 +01:00
G Johansson
3f9a6bbaa7
Fix sql false warning ( #67614 )
2022-03-04 08:20:10 -10:00
Franck Nijhof
5965b015dd
Adjust data entry flow to have an option data_schema ( #67637 )
2022-03-04 16:42:02 +01:00
Martin Hjelmare
f91a809350
Add mysensors notify tests ( #67634 )
2022-03-04 14:47:27 +01:00
Jan Bouwhuis
5ab4b5d15a
MQTT Improve warning override deprecated settings ( #67609 )
2022-03-04 12:39:29 +01:00
Erik Montnemery
cd25769667
Rename async_resolve_entity_ids to async_validate_entity_ids ( #67603 )
2022-03-04 09:51:53 +01:00
Paulus Schoutsen
fbc39d1206
Log stack trace if exception without message ( #67587 )
2022-03-04 09:48:07 +01:00
Allen Porter
57ffc65af2
Improve google calendar test quality and share setup ( #67441 )
...
* Improve google calendar test quality and share setup
Improve google calendar test quality by exercising different combinations of
cases and new coverage. The existing test cases do achieve very high coverage,
however some of the subtle interactions between the components are not as well
exercised, which is needed when we start changing how the internal code is
structured moving to async or to config entries.
Ipmrovement include:
- Exercising additional cases around different types of configuration parameters
that control how calendars are tracked or not tracked. The tracking can be
configured in google_calendars.yaml, or by defaults set in configuration.yaml
for new calendars.
- Share even more test setup, used when exercising the above different scenarios
- Add new test cases for event creation.
- Improve test readability by making more clear the differences between tests
exercising yaml and API test calendars. The data types are now more clearly
separated in the two cases, as well as the entity names created in the two
cases.
* Undo some diffs for readability
* Improve pydoc readability
* Improve pydoc readability
* Incorporate improvements from Martin
* Make test parameters a State instance
* Update test naming to be more correct
* Fix flake8 errors
2022-03-03 23:12:24 -08:00
Allen Porter
4e52f26ed1
Fix flaky google calendar test ( #67600 )
2022-03-03 22:48:55 -08:00
Chris Talkington
79e9eb1b94
Suppress roku power off timeout errors ( #67414 )
2022-03-03 21:08:29 -08:00
Erik Montnemery
2007379701
Restore state of template binary sensor with on or off delay ( #67546 )
2022-03-03 15:27:39 -08:00
Franck Nijhof
02391663c1
Add config flow to Moon ( #67444 )
2022-03-03 15:12:33 -08:00
J. Nick Koston
6d2302b703
Add guards for HomeKit version/names that break apple watches ( #67585 )
2022-03-03 15:03:46 -08:00
Paulus Schoutsen
e7ca6b6e38
Highlight in logs it is a custom component when setup fails ( #67559 )
...
Co-authored-by: Joakim Sørensen <ludeeus@ludeeus.dev>
2022-03-03 15:03:03 -08:00
Jan Bouwhuis
9356bf1a8e
Fix MQTT config flow with advanced parameters ( #67556 )
...
* Fix MQTT config flow with advanced parameters
* Add test
2022-03-03 21:40:15 +01:00
Keilin Bickar
24e0c0b092
Add pressure sensor for SleepIQ ( #67574 )
2022-03-03 10:27:22 -10:00
Keilin Bickar
423c14e2a1
Add light entity to SleepIQ ( #67363 )
2022-03-03 09:42:33 -10:00
Per Öberg
cfed1ff799
Add config flow for selecting precision of DS18B20 devices ( #64315 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-03 11:41:59 -08:00
epenet
8e3b0f6554
Cleanup mac fixtures in samsungtv tests ( #67529 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-03 08:07:08 -10:00
epenet
74483d2669
Fix Samsung TV state when the device is turned off ( #67541 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-03 08:06:33 -10:00
Joakim Sørensen
1a78e18eeb
Add update integration ( #66552 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-03-03 08:27:09 -08:00
Allen Porter
2678d8120a
Update nest media source to make device play most recent event ( #67557 )
2022-03-03 08:16:03 -08:00
Richard T. Schaefer
15580281a3
Allow area, device, and entity selectors to optionally support multiple selections like target selector ( #63138 )
...
* Allow area, device, and entity selectors to optionally support multiple selections like target selector
* Update according to code review comments
* Adjust tests
* Update according to review comments
* Tweak error message for multiple entities
Co-authored-by: Erik <erik@montnemery.com>
2022-03-03 10:35:06 +01:00
J. Nick Koston
ad87d06d1f
Enable strict typing for usb ( #67466 )
...
* Enable strict typing for usb
* Enable strict typing for usb
* Enable strict typing for usb
* adjust
* coverage
* Update tests/components/usb/test_init.py
2022-03-03 07:59:31 +01:00
G Johansson
a3a66451d7
Implement reauth for Sensibo ( #67446 )
2022-03-02 12:22:14 -10:00
epenet
b8861578ff
Implement async websocket in samsungtv ( #67127 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-02 09:30:33 -10:00
jan iversen
a4915eb704
Handle exception in modbus slave sensor ( #67472 )
2022-03-02 09:49:57 -08:00
Jan Bouwhuis
a97fe7aae0
Mqtt fix issue with displaying non UTF-8 payload ( #67471 )
...
* Mqtt fix issue with displaying non UTF-8 payload
* None or binary
* Casting and additional test
* casting
2022-03-02 17:01:47 +01:00
Michael Chisholm
797a9c3de5
Sort DMS results using only criteria supported by the device ( #67475 )
2022-03-02 07:54:47 -08:00
Erik Montnemery
c5dd5e18c0
Improve binary sensor group when member is unknown or unavailable ( #67468 )
2022-03-02 07:53:13 -08:00
Erik Montnemery
5b8cf379a3
Improve mobile_app key handling ( #67429 )
2022-03-02 07:49:48 -08:00
Jc2k
0974abf9e2
Remove Ecobee homekit vendor extensions that just don't work ( #67474 )
2022-03-02 15:00:48 +01:00
cnico
beb4756eb8
Address late review of flipr ( #67477 )
2022-03-02 13:00:33 +01:00
Martin Hjelmare
e9496869da
Rework mysensors test fixtures ( #67331 )
...
* Reworks mysensors test fixtures
* Fix missing autospecced methods
2022-03-02 07:23:36 +01:00
Mike Degatano
4ea6ca7f91
Prefer internal docker URL for VLC telnet when possible ( #67090 )
2022-03-01 21:56:20 -08:00
Paulus Schoutsen
65eefcacfc
Add support for detecting hostname based addresses as internal ( #67407 )
2022-03-01 16:56:05 -08:00
cnico
7889aace5f
Add flipr API error detection and catch it correctly. ( #67405 )
2022-03-01 16:21:47 -08:00
Paulus Schoutsen
d68ada74cc
Restore children media class ( #67409 )
2022-03-01 15:14:14 -08:00
Joakim Sørensen
e58ce7ab6e
Fix returned value from backup/info WS command ( #67439 )
2022-03-01 21:37:51 +01:00
J. Nick Koston
94130a6060
Avoid creating wiring select for Magic Home if its not supported ( #67417 )
2022-03-01 09:18:09 -10:00
Joakim Sørensen
32adeb8356
Remove class attributes for backup manager ( #67431 )
...
* Remove class attributes for backup manager
* remove patches
2022-03-01 15:16:18 +01:00
Erik Montnemery
f40932853f
Bump hatasmota to 0.4.0 ( #67421 )
2022-03-01 13:18:49 +02:00
Franck Nijhof
82948cc6c1
Update google-cloud-texttospeech to 2.10.0 ( #66746 )
2022-03-01 10:19:13 +01:00
J. Nick Koston
fc4cb743bd
Add Signal Strength sensor to WiZ ( #67411 )
2022-02-28 18:50:26 -10:00
J. Nick Koston
ac031cb817
Add diagnostics support to bond ( #67412 )
2022-02-28 18:50:15 -10:00
Joakim Sørensen
0ed51dae13
Add Backup integration ( #66395 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-02-28 15:48:12 -08:00
epenet
1556868d56
Use async rest api in SamsungTV ( #67369 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-28 09:53:42 -10:00
Matt Zimmerman
d077c3b8d1
Add sensor to expose Powerwall backup reserve percentage ( #66393 )
2022-02-28 09:31:34 -10:00
Erik Montnemery
148762ce3f
Improve cast test for removing device ( #67385 )
2022-02-28 11:08:27 -08:00
jan iversen
e891df0ff3
Allow multi read of Modbus sensor ( #67378 )
2022-02-28 11:07:55 -08:00
jan iversen
690223fb69
Add tests for Modbus slave binary sensors, up coverage to 100% ( #67373 )
2022-02-28 11:06:32 -08:00
Erik Montnemery
f9616c2ae3
Remove custom WS command for removing Tasmota devices ( #67382 )
2022-02-28 18:13:38 +01:00
Erik Montnemery
5e4b16c69a
Remove custom WS command for removing MQTT devices ( #67381 )
...
* Remove custom WS command for removing MQTT devices
* Re-add removed test
2022-02-28 15:50:49 +01:00
Erik Montnemery
c7d59bb272
Fix race when unsubscribing from MQTT topics ( #67376 )
...
* Fix race when unsubscribing from MQTT topics
* Improve test
2022-02-28 14:19:50 +01:00
Keilin Bickar
bafa99fe3e
Add reauth to SleepIQ ( #67321 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-02-27 15:47:31 -10:00
G Johansson
bb4b7c96d0
Migrate entry unique id for Sensibo ( #67119 )
2022-02-27 11:38:39 -10:00
Paulus Schoutsen
9c440d8aa6
Guard for non-string inputs in Alexa ( #67348 )
2022-02-27 12:59:05 -08:00
Allen Porter
466f1686e4
Cleanup google calendar shared test fixtures ( #67343 )
2022-02-27 19:58:00 +01:00
Steven Looman
dbbb5655e5
Bump async-upnp-client to 0.25.0 ( #66414 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-02-27 08:29:29 -10:00
James Hewitt
494ae9aef6
Clean up RFXtrx tests ( #67278 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-27 01:49:46 +01:00
Allen Porter
deda9e38e4
Simplify google calendar API interactions ( #67319 )
...
* Simplify google calendar APIs and tests
* Simplify authentication logic at startup
* Improve readability of diffs
* Reduce diffs
* Simplify api datetime logic
* Remove duplicate test fixtures added in prior commit
* Remove duplicate event filter calls
* Fix event list argument names
* More improvements found from additional testing
* Remove unnecessary variables in create event call
2022-02-26 16:19:45 -08:00
Allen Porter
0e74184e4f
Simplify google calendar authentication setup ( #67314 )
...
Simplify google calendar authentication to combine some of the cases together, and reduce unecessarily checks. Make the
tests share common authentication setup and reduce use of mocks by introducing a fake for holding on to credentials.
This makes future refactoring simpler, so we don't have to care as much about the interactions with the credentials
storage.
2022-02-26 15:17:02 -08:00
stegm
3b2b2b9c69
Add diagnostics to Kostal Plenticore ( #66435 )
2022-02-26 13:32:38 -08:00
jan iversen
6ec9c402b1
Remove generic data types INT, UINT, FLOAT in modbus ( #67268 )
2022-02-26 13:27:48 -08:00
Martin Hjelmare
d9abd5efea
Fix dhcp None hostname ( #67289 )
...
* Fix dhcp None hostname
* Test handle None hostname
2022-02-26 19:37:24 +01:00
Mike Fugate
858c09060d
Validate SleepIQ connection/credentials for the import step ( #67292 )
2022-02-26 17:55:11 +01:00
Joakim Sørensen
e65670fef4
Repository event subscription ( #67284 )
2022-02-26 15:56:36 +01:00
Paulus Schoutsen
7e4b63690d
Fix camera content type while browsing ( #67256 )
2022-02-26 10:02:13 +01:00
Paulus Schoutsen
0a6c8f8e6c
Improve not shown handling ( #67247 )
2022-02-25 11:52:14 -08:00
James Hewitt
069e70ff03
Add mode setting to RFXtrx device configuration ( #67173 )
...
This allows users to configure the modes on their RFXtrx device without
downloading additional software that only runs on Windows. It also
enables the use of modes that cannot be permanently enabled on the
device, such as for undecoded and raw messages.
2022-02-25 20:43:29 +01:00
jan iversen
8233278ccc
Correct tests to use data_type in Modbus ( #67246 )
2022-02-25 11:37:52 -08:00
J. Nick Koston
e81ca64aa4
Prevent the wrong WiZ device from being used when the IP is a different device ( #67250 )
2022-02-25 11:37:19 -08:00
Paulus Schoutsen
6fd9e71b8f
Adjust serializing resolved media ( #67240 )
2022-02-25 10:00:03 -08:00
Mark Dietzer
07a792019e
Fix Twitch component to use new API ( #67153 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-02-25 09:15:49 -08:00
epenet
715d7f70f0
Adjust SamsungTV abstraction layer ( #67216 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-25 17:15:45 +01:00
jan iversen
c6f5633e24
Fix modbus test_delay ( #66993 )
2022-02-25 08:06:25 -08:00
Martin Hjelmare
c856f673fb
Fix zwave_js migration luminance sensor ( #67234 )
2022-02-25 08:05:56 -08:00
jan iversen
adc4c1e33f
Secure ATTR_ and CONF_ use identical texts in Modbus ( #66901 )
2022-02-25 08:05:19 -08:00
Andre Lengwenus
684f01f466
Add tests for LCN cover platform ( #64832 )
2022-02-25 10:22:48 +01:00