J. Nick Koston
b97cd3ce93
Do not update unifiprotect host from discovery if its not an ip ( #65548 )
2022-02-03 19:14:36 +01:00
J. Nick Koston
3d8d507ed9
Migrate powerwall from using ip address as unique id ( #65257 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-03 18:39:57 +01:00
mk-maddin
efb6fd1569
Fix script / automation repeat with count 0 fails ( #65448 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-02-03 08:18:58 -08:00
Jan Bouwhuis
2f0d0998a2
Add Mqtt vacuum `unknown` state ( #65311 )
...
* Add Mqtt vacuum `unknown` status
* Update tests/components/mqtt/test_state_vacuum.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-02-03 16:50:39 +01:00
Jan Bouwhuis
cf52357229
Add MQTT light unknown state support ( #65308 )
...
* Add MQTT light unknown sate support
* Update homeassistant/components/mqtt/light/schema_basic.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Update homeassistant/components/mqtt/light/schema_json.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Update homeassistant/components/mqtt/light/schema_template.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Update tests for default unknown state
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-02-03 16:49:57 +01:00
Jan Bouwhuis
2d011821ea
Add MQTT humidifier unknown state support ( #65302 )
...
* Add MQTT humidifier unknown state support
* Update homeassistant/components/mqtt/humidifier.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Fix tests for changed default optimistic state
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-02-03 16:49:09 +01:00
Jan Bouwhuis
711bd7169e
Add Mqtt Fan unknown state support ( #65301 )
...
* Add Mqtt Fan unknown state support
* Update homeassistant/components/mqtt/fan.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Adjust default state in tests
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-02-03 16:48:03 +01:00
Jan Bouwhuis
3d434dffc7
Add support Mqtt switch for unkown state ( #65294 )
...
* Mqtt switch allow unkown state
* correct type
* Update discovery tests
* Optimistic mode if not state_topic is configured.
* Default state UNKNOWN in optimistic mode
* fix discovery test
2022-02-03 16:47:24 +01:00
Jan Bouwhuis
63459feede
Return current state if template throws ( #65534 )
2022-02-03 16:46:36 +01:00
epenet
8234625d30
Use Domain not Platform on test service calls ( #65508 )
...
* Adjust atag
* adjust broadlink
* Adjust onewire
* Adjust plex
* Adjust renault
* Adjust tasmota
* Adjust zha
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-03 14:16:35 +01:00
Erik Montnemery
63680f0b36
Make util.async_.protect_loop name names ( #65493 )
2022-02-03 14:06:40 +01:00
epenet
c8504bd21d
Add tests for pylint plugins ( #65436 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-03 10:01:02 +01:00
Erik Montnemery
23ee8adf59
Fix flaky homewizard test ( #65490 )
2022-02-03 09:23:32 +01:00
Erik Montnemery
f3a89de71f
Fix race when handling updated MQTT discovery data ( #65415 )
2022-02-02 17:12:22 -08:00
Maciej Bieniek
32be5576dc
Get wind speed unit from AccuWeather data ( #65425 )
2022-02-02 17:07:12 -08:00
Tobias Sauerwein
81ad56b8ad
Add events on cloud connect and disconnect ( #65215 )
...
* Add events on cloud connect and disconnect
Signed-off-by: cgtobi <cgtobi@gmail.com>
* Use event capture helper
Signed-off-by: cgtobi <cgtobi@gmail.com>
* Provide listener method instead of public event
Signed-off-by: cgtobi <cgtobi@gmail.com>
* Add test for disconnect notification
Signed-off-by: cgtobi <cgtobi@gmail.com>
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Use Enum
Signed-off-by: cgtobi <cgtobi@gmail.com>
* Add module level api
Signed-off-by: cgtobi <cgtobi@gmail.com>
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Clean up dead code
Signed-off-by: cgtobi <cgtobi@gmail.com>
* Flake8
Signed-off-by: cgtobi <cgtobi@gmail.com>
* Clean up
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-02 18:11:06 +01:00
Erik Montnemery
fda0fbd115
Stringify MQTT payload in mqtt/debug/info WS response ( #65429 )
2022-02-02 18:08:48 +01:00
Erik Montnemery
5a34feb7de
Don't warn on time.sleep injected by the debugger ( #65420 )
2022-02-02 08:58:14 -08:00
J. Nick Koston
530fc8a9af
Ensure unifiprotect discovery can be ignored ( #65406 )
2022-02-02 16:16:29 +01:00
Jan Bouwhuis
2c07330794
Fix MQTT expire_after effects after reloading ( #65359 )
...
* Cleanup sensor expire triggers after reload
* fix test binary_sensor
* Also trigger cleanup parent classes
* Restore an expiring state after a reload
* correct discovery_update
* restore expiring state with remaining time
* Update homeassistant/components/mqtt/binary_sensor.py
description
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Log remaining time
* Move check
* check and tests reload
* remove self.async_write_ha_state()
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-02-02 16:14:52 +01:00
Erik Montnemery
0eb2caabcf
Report unmet dependencies for failing config flows ( #65061 )
...
* Report unmet dependencies for failing config flows
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/setup.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Modify error message
* Add test
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-02-02 15:06:27 +01:00
J. Nick Koston
73189ead1f
Handle brightness being None for senseme ( #65372 )
2022-02-01 14:51:28 -08:00
Robert Svensson
69ac59ce73
Redact host address in UniFi diagnostics ( #65379 )
2022-02-01 09:52:56 -08:00
Bram Kragten
c82aa1606a
Allow removing keys from automation ( #65374 )
2022-02-01 09:45:08 -08:00
ZuluWhiskey
65ea54927d
Fix MotionEye config flow ( #64360 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-02-01 09:05:50 -08:00
G Johansson
390d32c71b
Fix options for dnsip ( #65369 )
2022-02-01 16:47:42 +01:00
Paulus Schoutsen
b05b4c4b38
Simplify unifi cleanup logic ( #65345 )
2022-02-01 07:22:12 +01:00
Allen Porter
88ed2f3b3e
Improve google calendar test coverage to 97% ( #65223 )
...
* Improve google calendar test coverage to 97%
* Remove commented out code.
* Remove unnecessary (flaky) checks for token file persistence
* Remove mock code assertions
* Add debug logging to google calendar integration
* Increase alarm time to polling code to reduce flakes
* Setup every test in their own configuration directory
* Mock out filesystem calls to avoid disk dependencies
Update scope checking code to use Storage object rather than text file matching
* Update tests to check entity states when integration is loaded
* Mock out google service in multiple locations
* Update homeassistant/components/google/__init__.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/google/__init__.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-01 03:14:49 +01:00
Paulus Schoutsen
5289935ac1
I zone, you zone, we zoning ( #65344 )
2022-01-31 17:04:46 -08:00
Martin Hjelmare
d0412d65ac
Remove stale tradfri devices ( #65218 )
2022-01-31 16:43:16 -08:00
Michael
c9f38355f7
Improve debugging and error handling in Fritz!Tools ( #65324 )
2022-01-31 15:28:11 -08:00
J. Nick Koston
18ea3fb85a
Prevent unifiprotect from being rediscovered on UDM-PROs ( #65335 )
2022-01-31 15:27:26 -08:00
J. Nick Koston
c7eb676449
Fix guardian being rediscovered via dhcp ( #65332 )
2022-01-31 15:24:55 -08:00
Paulus Schoutsen
bf138c4ffb
Alexa to handle brightness and catch exceptions ( #65322 )
2022-01-31 15:01:46 -08:00
Chris Talkington
70da08499a
Refactor sonarr tests ( #64886 )
2022-01-31 16:59:18 -06:00
Jc2k
0f88790303
Refactor homekit_controller to prepare for more typing information ( #65329 )
2022-01-31 16:48:16 -06:00
w35l3y
076faaa4a4
Add support to reprompt user ( #65256 )
2022-01-31 10:23:26 -08:00
Franck Nijhof
441e81c02a
Add diagnostics support to WLED ( #65317 )
2022-01-31 09:16:33 -08:00
Erik Montnemery
80da5c52ae
Correct cast media browse filter for audio groups ( #65288 )
2022-01-31 11:45:48 +01:00
Erik Montnemery
b0c36d7729
Add cast platform for extending Google Cast media_player ( #65149 )
...
* Add cast platform for extending Google Cast media_player
* Update tests
* Refactor according to review comments
* Add test for playing using a cast platform
* Apply suggestions from code review
Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>
* Pass cast type instead of a filter function when browsing
* Raise on invalid cast platform
* Test media browsing
Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>
2022-01-31 10:50:05 +01:00
Jan Bouwhuis
6fdaec0847
Add MQTT siren platform ( #64440 )
...
* Add mqtt siren draft
* fix tests
* Intergrate notify platform
* tests and fixes siren platform
* Add tests notify platform
* config parameters and abbreviations
* remove duplicate key
* undo move topic abbreviation
* Move const CONF_MESSAGE_COMMAND_TEMPLATE
* Remove notify service integration
* Rework
* Update homeassistant/components/mqtt/siren.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Publish JSON by default
* Allow unknown state - rename value_template
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-01-31 10:31:57 +01:00
Jan Bouwhuis
bfaada34e2
Allow `unknown` state to be set ( #65183 )
2022-01-31 10:25:08 +01:00
J. Nick Koston
8c9bd6e790
Increase august timeout and make failure to sync at startup non-fatal ( #65281 )
2022-01-30 20:50:49 -08:00
J. Nick Koston
2f6bf08165
Fix senseme fan lights ( #65217 )
2022-01-30 20:24:42 -08:00
J. Nick Koston
73bd8db273
Fix flux_led not generating unique ids when discovery fails ( #65250 )
2022-01-30 20:17:19 -08:00
Matthias Alphart
d4370395e2
Update xknx to 0.19.1 ( #65275 )
2022-01-30 20:12:44 -08:00
Jc2k
58b8c30221
Improve homekit_controller tests ( #65266 )
2022-01-30 16:59:39 -06:00
Jc2k
eb94fe1ca7
Use upstream constants when defining homekit service to platform mapping ( #65272 )
2022-01-30 16:59:01 -06:00
Aaron Bach
58f624a3da
Add diagnostics to SimpliSafe ( #65171 )
...
* Add diagnostics to SimpliSafe
* Bump
* Cleanup
2022-01-30 15:37:56 -07:00
Jc2k
cc94af2872
Remove deprecated helper functions from homekit_controller pairing flow ( #65270 )
2022-01-30 16:20:19 -06:00