Commit Graph
8408 Commits
Author SHA1 Message Date
jjlawren cca1b426bb Fix Sonos battery sensors on S1 firmware (#51585) 2021-06-11 21:42:09 -07:00
Malte Franken 8818df0663 Improve log message when zone missing in geolocation trigger (#51522)
* log warning message if zone cannot be found

* improve log message

* add test case
2021-06-07 14:15:24 -07:00
J. Nick KostonandPaulus Schoutsen 703b088f86 Fix loop in tod binary sensor (#51491)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-06-07 14:15:19 -07:00
Paulus Schoutsen f5dd838409 Protect our user agent (#51486)
* Protect our user agent

* Fix expected error
2021-06-04 10:07:05 -07:00
Raman Gupta 4cf2f49d7e Fix no value error for heatit climate entities (#51392) 2021-06-03 15:44:34 -07:00
Erik Montnemery f8d68e47b8 Do not attempt to unload non loaded config entries (#51356) 2021-06-02 17:29:10 +02:00
Paulus Schoutsen f93acfc4c0 Merge system options into pref properties (#51347)
* Make system options future proof

* Update tests

* Add types
2021-06-01 13:39:14 -07:00
Franck Nijhof d78694c9b8 Fix time condition microsecond offset when using input helpers (#51337) 2021-06-01 13:39:10 -07:00
Franck Nijhof f54cbff223 Always load middle to handle forwarded proxy data (#51332) 2021-06-01 13:38:10 -07:00
Joakim Sørensen 6031f7ce99 Add arch to payload (#51330) 2021-06-01 13:35:57 -07:00
Paulus Schoutsen 413fd1b255 Trusted networks auth provider warns if detects a requests with x-forwarded-for header while the http integration is not configured for reverse proxies (#51319)
* Trusted networks auth provider to require http integration configured for proxies to allow logging in with requests with x-forwarded-for header

* Make it a warning
2021-06-01 13:09:16 +02:00
Paulus Schoutsen a904b1e37f Set up cloud semi-dependencies at start (#51313) 2021-05-31 16:43:07 -07:00
Joakim Sørensen 14db5a0999 Move version validation to resolver (#51311) 2021-05-31 16:43:07 -07:00
Paulus Schoutsen 127a230703 Add system option to disable polling (#51299) 2021-05-31 16:43:04 -07:00
Joakim Sørensen c4a98755a3 Resolve addon repository slug for device registry (#51287)
* Resolve addon repository slug for device registry

* typo

* Adjust onboarding test

* Use /store
2021-05-31 16:43:03 -07:00
J. Nick Koston 273f57261c Upgrade HAP-python to 3.5.0 (#51261)
* Upgrade HAP-python to 3.4.2

- Fixes for malformed event sending

- Performance improvements

* Bump

* update tests to point to async
2021-05-31 16:43:02 -07:00
Ron Klinkien a08fffea17 Fix Garmin Connect integration with python-garminconnect-aio (#50865) 2021-05-31 16:43:01 -07:00
Erik Montnemery 8fd3761893 Fix flaky statistics tests (#51242) 2021-05-30 21:13:33 -07:00
jjlawren d236e07046 Skip processed Sonos alarm updates (#51217)
* Skip processed Sonos alarm updates

* Fix bad conflict merge
2021-05-30 21:13:31 -07:00
Erik Montnemery b75f4b1f4d Fix flaky statistics tests (#51214)
* Fix flaky statistics tests

* Tweak
2021-05-30 21:11:57 -07:00
J. Nick Koston b37932e163 Fix samsungtv yaml import without configured name (#51204) 2021-05-30 21:09:05 -07:00
jjlawren a0696fe923 Centralize Sonos subscription logic (#51172)
* Centralize Sonos subscription logic

* Clean up mocked Sonos Service instances, use subscription callback

* Use existing mocked attributes

* Use event dispatcher dict, move methods together, make update_alarms sync

* Create dispatcher dict once
2021-05-30 21:09:04 -07:00
Aaron David Schneider e980365a9c Add tests for sonos switch platform (#51142)
* add tests

* refactor async_added_to_hass

* fix tests and race condition

* use async_get

* typo
2021-05-30 21:09:03 -07:00
Erik Montnemery 27e32bbb19 Weight sensor average statistics by state durations (#51150)
* Weight sensor average statistics by state durations

* Fix test
2021-05-28 14:50:32 +02:00
Joakim Sørensen 4ebc0d97bc Handle blank string in location name for mobile app (#51130) 2021-05-28 14:50:20 +02:00
Raman Gupta c2c760eb8b Fix zwave_js.set_value schema (#51114)
* fix zwave_js.set_value schema

* wrap all schemas in vol.Schema

* readd removed assertions
2021-05-28 14:50:17 +02:00
Austin Mroczek 22dd7df66c Improve totalconnect config flow user experience (#47926) 2021-05-26 09:48:44 -07:00
ollo69 daff62f42d Add AsusWRT model and firmware information for device (#51102) 2021-05-26 09:46:06 -07:00
Matt Zimmerman ffb9ab21c1 Add binary sensor for smarttub errors (#49364) 2021-05-26 09:25:47 -07:00
64661ee2b7 Add network configuration integration (#50874)
Co-authored-by: Ruslan Sayfutdinov <ruslan@sayfutdinov.com>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-26 09:06:30 -07:00
Erik Montnemery 16e90f12ca Add last_reset property to Tasmota energy sensors (#51107)
* Add last_reset property to Tasmota energy sensors

* Correct device class for energy sensors
2021-05-26 17:58:06 +02:00
Franck NijhofandMartin Hjelmare 19c505c0f0 Add Supervisor discovery to motionEye (#50901)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-26 17:40:07 +02:00
Raman Gupta 18e6ae8750 Add WS API commands to check for and install zwave_js config updates (#51106) 2021-05-26 08:39:08 -07:00
Raman GuptaandMartin Hjelmare 6d9b67ddb2 Add zwave_js heal node and network WS API commands (#51047)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-26 08:38:02 -07:00
Raman GuptaandPaulus Schoutsen 8edf7f0407 Don't enforce uniqueness requirements for Waze and Google Travel Time (#50254)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-05-26 08:32:26 -07:00
Brandon Rothweiler a36935dcee Add services for Mazda integration (#51016) 2021-05-26 16:36:36 +02:00
Franck Nijhof a8a13da793 Fix discovery without uid aborts on completing user flow (#51105)
* Fix discovery without uid aborts on completing user flow

* Fix comment
2021-05-26 16:29:52 +02:00
Franck Nijhof bf13af34b4 Use entity class vars in WLED (#50975) 2021-05-26 14:08:09 +02:00
Massimiliano Cannarozzo 5a5a145778 Make all MQTT cover payloads optional (#50579)
* Remove unused constant

* Make payload_close optional

* Make payload_open optional

* Compute supported features based on config
2021-05-26 13:50:44 +03:00
Raman Gupta 1de0d20a76 Bump zwave-js-server-python to 0.25.1 (#51097)
* Bump zwave-js-server-python to 0.25.1

* update fixtures
2021-05-26 12:37:24 +02:00
Erik Montnemery 789a14fc44 Add support for last_reset to MQTT sensor (#51036)
* Add support for last_reset to MQTT sensor

* Update abbreviations

* Improve test coverage
2021-05-26 11:50:29 +02:00
Raj Laud b3607343fc Fix error in Squeezebox DHCP discovery flow (#50771)
* Map data from dhcp to squeezebox discovery flow

* Add tests for squeezebox dhcp discovery
2021-05-26 10:30:15 +02:00
uvjustin c6f108f7c3 Refactor stream to use bytes (#51066)
* Refactor stream to use bytes
2021-05-26 16:19:09 +08:00
Maciej Bieniek 41a940f644 Add state class to Nettigo Air Monitor sensors (#50959) 2021-05-26 09:36:37 +02:00
ollo69 d5a9419fb7 Fix AsusWRT sensor test (#50956)
* Fix AsusWRT sensor test

* Revert use of utcnow

* Add MockDevice class

* Proper initialize static member

* Added mock_device fixture
2021-05-26 09:19:30 +02:00
Raman GuptaandPaulus Schoutsen 5f7964b54b Add firmware updates support for zwave_js (#50390)
* Add WS API support for zwave_js firmware updates

* move file to fixture

* review comments

* fix logic and test based on upstream changes

* handle failure scenario

* handle failure scenario

* fix tests and adjust message

* Update homeassistant/components/zwave_js/api.py

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

* remove return from firmware upload view because client will raise an exception if not successful

* raise if user is not an admin

* raise bad request exception if firmware command fails

* incorporate #50923

* Add test for failed command

* add event name to messages

* change error to not found

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-05-26 02:57:00 -04:00
Erik Montnemery 154c849eac Filter unsupported parameters from light service calls (#51084)
* Filter unsupported parameters from light service calls

* Silence pylint

* Fix deconz tests

* Fix mqtt tests

* Fix scene tests

* Fix trådfri emulated CT

* Fix mqtt tests
2021-05-26 08:02:59 +02:00
J. Nick Koston deb9135707 Handle clamped fan maxValue in homekit_controller (#51088) 2021-05-25 16:06:17 -05:00
Nathan Spencer 9ec0b0a8da Fix for invalid value error when using UI editor for Litter-Robot's set_wait_time service (#50269) 2021-05-25 20:15:37 +02:00
Raman Gupta 58e37435b3 Make more max lengths constants and add additional MaxLengthExceeded checks (#50337)
* Add more MaxLengthExceeded checks

* remove some validations to reduce performance impact

* check length of generated entity ID

* dont check entity ID twice and use single context id length constant

* fix test

* add missing test
2021-05-25 19:58:01 +02:00