Commit Graph

32351 Commits (b3ffc1e183538655d49bb36ab16165c01b38a7ed)

Author SHA1 Message Date
Matthias Alphart 2fca5a4b55
Update xknx to 0.18.13 (#59658) 2021-11-14 00:05:32 +01:00
Keilin Bickar f65af0f9d7
Update sense library version number (#59454) 2021-11-13 15:17:10 -06:00
RenierM26 6749930736
Switchbot "in memory" state for push mode switch (#58750)
* Add in memory state tracking to Switchbot switch.

* Switchbot assumed state

* Add in memory state when Bot is in push mode.

* Cleanup
2021-11-13 18:21:37 +01:00
J. Nick Koston 0ba45e4db4
Bump zeroconf to 0.36.13 (#59644)
- Closes #59415
- Fixes #58453
- Fixes #57678

- Changelog: https://github.com/jstasiak/python-zeroconf/compare/0.36.12...0.36.13
2021-11-13 18:18:54 +01:00
Clifford Roche 48024b6da0
Bump greecliamate to 0.12.4 (#59645) 2021-11-13 18:18:12 +01:00
jugla 512bdac724
Air visual : robustness at startup when evaluate time interval (#59544) 2021-11-13 08:44:18 -07:00
Franck Nijhof 28a0ba4df3
Modernize/Simplify Twente Milieu (#59632) 2021-11-13 15:34:09 +01:00
Franck Nijhof aa89c670eb
Upgrade wled to 0.9.0 (#59635) 2021-11-13 15:26:57 +01:00
Yehuda Davis b5de99ebfc
Fix inverted tuya doorcontact_state (#59427) 2021-11-13 14:30:47 +01:00
Aaron Bach b2f2c76e5a
Fix broken Ambient PWS config entry migration (#59618) 2021-11-13 14:20:26 +01:00
Aaron Bach 303b6bc4f1
Add configuration URL for Ambient PWS (#59616) 2021-11-13 14:19:04 +01:00
Franck Nijhof cce441332f
Add button platform to Elgato (#59628)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-11-13 14:15:14 +01:00
Robert Hillis 68e80f1431
Remove yaml config from modem_callerid (#59526) 2021-11-13 14:14:49 +01:00
Aidan Timson 27b2aa04c9
Add System Bridge keyboard services (#53893)
* Add keyboard services

* Extract to voluptuous validator

* Cleanup

* Lint

* Catch StopIteration

* Match validator

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

* Raise from

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-11-13 13:45:42 +01:00
Allen Porter 8ce3f18295
Remove unused stream_type attribute (#59625)
Remove this stream type that was previously renamed to frontend_stream_type
2021-11-13 04:45:18 -08:00
Michael Kowalchuk 435e1fb092
Always use a step size of 1 for z-wave js fans (#59622) 2021-11-13 13:00:36 +01:00
Maciej Bieniek 8b6b4d7f8a
Fix favorite RPM max value in Xiaomi Miio (#59631) 2021-11-13 12:59:48 +01:00
Franck Nijhof c70f06be48
Upgrade twentemilieu to 0.4.2 (#59599) 2021-11-13 12:22:07 +01:00
Daniel Hjelseth Høyer 9d674af566
Bump open-garage to 0.2.0 (#59608)
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-11-13 11:54:24 +01:00
J. Nick Koston 9769a8c08e
Revert "Bump async_timeout to 4.0.1" (#59601) 2021-11-12 23:47:39 -08:00
GitHub Action f00effaba2 [ci skip] Translation update 2021-11-13 00:11:56 +00:00
Daniel Hjelseth Høyer 49b0457172
Bump pyMetno to 0.9.0 (#59609) 2021-11-12 22:09:07 +01:00
Simone Chemelli 4cfac18e1a
Fix firmware status check for Fritz (#59578) 2021-11-12 19:09:03 +01:00
Daniel Hjelseth Høyer 44ae0e214a
Bump Adax library (#59592)
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-11-12 19:07:35 +01:00
Daniel Hjelseth Høyer 7fff0a9865
Bump Airthings library (#59595)
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-11-12 19:06:50 +01:00
Franck Nijhof 2841e402b9
Cleanup extra dict from hass data in Elgato (#59587) 2021-11-12 19:03:57 +02:00
Franck Nijhof 8249959eac
Update elgato to 2.2.0 (#59585) 2021-11-12 15:43:19 +01:00
Franck Nijhof 5e6ad8977a
Update vehicle to 0.2.0 (#59583) 2021-11-12 15:42:46 +01:00
Erik Montnemery bcd9f3c05f
Correct end time for monthly statistics summary (#59551)
* Correct end time for monthly statistics summary

* Add tests
2021-11-12 15:01:40 +01:00
j-stienstra 0ae5b9e880
Add Jellyfin integration (#44401)
* Initial commit after scaffold setup

* Add initial config flow

* Create initial entity

* Ready for testing

* Can browse, no result yet

* Further improvements. Browsing is working.
Now need to work on proper stream URL

* Two valid URLs. Do not play in HA

* First working version for music

* Add thumbnail

* Includes Artist->Album hierarchy

* Add sorting of artists, albums and tracks

* Remove code for video libraries

* Improved code styling

* Optimize configuration flow

* Fix unit tests for config flow

* Fix import order

* Conform to style requirements

* Use empty string as media type for non playables

* 100% code coverage config_flow

* Type async_get_media_source

* Final docsctring fix after rebase

* Add __init__ and media_source files to .coveragerc

* Fix testing issues after rebase

* Fix string format issues and relative const import

* Remove unused manifest entries

* Raise ConfigEntry exceptions, not log errors

* Upgrade dependency to avoid WARNING on startup

* Change to builtin tuple and list (deprecation)

* Log broad exceptions

* Add strict typing

* Further type fixes after rebase

* Retry when cannot connect, otherwise fail setup

* Remove unused CONFIG_SCHEMA

* Enable strict typing checks

* FlowResultDict -> FlowResult

* Code quality improvements

* Resolve mypy.ini merge conflict

* Use unique userid generated by Jellyfin

* Update homeassistant/components/jellyfin/config_flow.py

Remove connection class from config flow

Co-authored-by: Milan Meulemans <milan.meulemans@live.be>

* Minor changes for additional checks after rebase

* Remove title from string and translations

* Changes wrt review

* Fixes based on rebase and review suggestions

* Move client initialization to separate file

* Remove persistent_notification, add test const.py

Co-authored-by: Milan Meulemans <milan.meulemans@live.be>
2021-11-12 14:57:40 +01:00
Joakim Sørensen 733193b5ad
Bump aiogithubapi from 21.8.0 to 21.11.0 (#59582) 2021-11-12 14:54:15 +01:00
Radu c2f489266a
Add ZigStar Zigbee Coordinator audodiscovery (#59559) 2021-11-12 08:04:22 -05:00
ollo69 21f92f6286
Add Nut device explicitly to the device registry (#59525)
* Add Nut device explicitly to the device registry

* Restore resources in data and remove unused string
2021-11-12 11:10:40 +01:00
Joakim Sørensen 363de37400
Override api url in norway_air (#59573) 2021-11-12 10:26:17 +01:00
Paulus Schoutsen e30e4d5c6d
Block cloud explicitely from trusted networks (#59333)
* Block cloud explicitely from trusted networks

* Lint
2021-11-12 10:25:01 +01:00
Paulus Schoutsen 6ef64f6b1c
Fix CORS error in emulated_hue (#59570) 2021-11-11 22:11:41 -08:00
J. Nick Koston 8de0c7204a
Bump async_timeout to 4.0.1 (#59565) 2021-11-11 21:13:15 -08:00
J. Nick Koston 5d2eb8d3ff
Add tilt support to bond covers (#59505) 2021-11-11 19:31:58 -08:00
Ricardo Steijn 715aa86a35
Bump crownstone-cloud to v1.4.9 (#59500) 2021-11-12 01:29:00 +01:00
GitHub Action 3f2b1fa952 [ci skip] Translation update 2021-11-12 00:12:35 +00:00
Matthias Alphart 00b1c2bb70
Fix KNX climate entities hvac action without controller_mode (#59522)
* fix hvac action for climate entities without controller_mode

* Update homeassistant/components/knx/climate.py

Co-authored-by: Marvin Wichmann <marvin@fam-wichmann.de>

Co-authored-by: Marvin Wichmann <marvin@fam-wichmann.de>
2021-11-11 19:39:57 +01:00
Pascal Vizeli 6636287c59
Bump cryptography 35.0.0 (#59541) 2021-11-11 18:27:22 +01:00
uvjustin 9ea338c121
Remove incomplete segment on stream restart (#59532) 2021-11-12 00:59:13 +08:00
Thomas Dietrich 90ee1f4783
Add available property to statistics component (#59203)
* Add available property to the statistics component

* Add test for statistics sensor availability

* Clean up availability check

* Improve statistics source sensor tests

* Revert variable rename

* Improve comments
2021-11-11 17:16:59 +01:00
epenet 4ecbfe8646
Drop STEP_ID constants from data_entry_flow (#59497)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-11 16:28:46 +01:00
Maikel Punie 6a21b241c0
Velbus typing part 2 (#59148) 2021-11-11 13:46:35 +01:00
Jonathan Keljo a079b4fd58
Add tests to bring greeneye_monitor to 99% coverage (#58661)
* Bring greeneye_monitor to 99% coverage.

* Pass monitor into listeners on Monitors

* Updates for changes in `dev`, create mock monitor

* Remove logging left in after debugging

* Remove xfails now that #58764 has merged
2021-11-11 13:20:16 +01:00
Erik Montnemery a29264518c
Don't allow turning on audio only chromecasts (#59495)
* Don't allow turning on audio only chromecasts

* Improve tests

* Adjust tests
2021-11-11 12:33:15 +01:00
Keilin Bickar 7098260dee
Fix state of sense net_production sensor (#59391) 2021-11-11 08:49:07 +01:00
Guess 2a99ef2046
Set PARALLEL_UPDATES for ping binary sensor (#59524)
Changing PARALLEL_UPDATES from 0 (unlimited) to 50 as with many sensors (above 500) successful pings weren't being recorded. Resolves https://github.com/home-assistant/core/issues/54860
2021-11-11 08:38:01 +01:00
Erik Montnemery 65b1f0d9eb
Minor refactor of energy validator (#58209) 2021-11-10 22:38:15 -08:00
Erik Montnemery 5f8997471d
Minor refactor of template sensor (#59466) 2021-11-10 22:34:49 -08:00
Erik Montnemery a14131a679
Suppress media status when the lovelace cast app is active (#59481)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-11-10 22:33:07 -08:00
Diogo Gomes ec9b5df7b3
Ignore None state in state_change_event (#59485) 2021-11-10 22:31:56 -08:00
J. Nick Koston cab9f821a1
Fix zeroconf with sonos v1 firmware (#59460) 2021-11-10 22:31:08 -08:00
Matthias Alphart f8f060b72b
Make util.color._match_max_scale public (#59207) 2021-11-10 22:29:16 -08:00
Franck Nijhof 61e4ebf155
Add button entity platform (restart button) to WLED (#59086)
Co-authored-by: Tom Brien <TomBrien@users.noreply.github.com>
2021-11-10 22:22:52 -08:00
Franck Nijhof 8447bbf5f0
Add binary sensor platform to RDW Vehicle information (#59253) 2021-11-10 22:22:18 -08:00
J. Nick Koston ebb25ab0e6
Make yaml file writes safer (#59384) 2021-11-10 22:19:56 -08:00
J. Nick Koston 751098c220
Bump sqlalchemy to 1.4.26 (#59527) 2021-11-10 20:01:59 -08:00
Sergiy Maysak 6bb816d226
Fix wirelesstag switch arm/disarm (#59515) 2021-11-11 02:21:29 +01:00
GitHub Action 34bc1298aa [ci skip] Translation update 2021-11-11 00:15:23 +00:00
Matthias Alphart 4e1958c1bd
Add Button platform to KNX integration (#59082)
* add button platform

* default values for payload and payload_length

* allow `type` configuration for encoded payloads

* add test for type configuration

* move common constants to const.py

- CONF_PAYLOAD
- CONF_PAYLOAD_LENGTH

* validate payload for payload_length or type

* c&p errors

* fix unique_id and pylint

* fix validator
2021-11-10 20:34:35 +01:00
Bram Kragten 47b6755177
Google Cast: Use own media player app (#55524) 2021-11-10 19:40:49 +01:00
Nicolas Mowen 20f0a6730b
Gogogate2 Battery Sensor Should Use % Unit For Compatibility (#59434) 2021-11-10 11:58:54 -06:00
epenet ab1e14204f
Rename zeroconf service info (#59467)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-10 15:26:47 +01:00
ollo69 6cba03aa4a
Remove resources selection from Nut config flow (#59450)
* Remove resources selection from Nut config flow

* Code clean-up

* Requested changes

* Apply suggestions from code review

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-11-10 13:49:05 +01:00
Aidan Timson c03fdd5da6
Add Azure DevOps coordinator and entity description (#54978)
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
Co-authored-by: Ludeeus <ludeeus@ludeeus.dev>
2021-11-10 11:49:04 +01:00
Franck Nijhof 1910c0566c
Upgrade jinja2 to 3.0.3 (#59468) 2021-11-10 11:04:42 +01:00
Tim Rightnour 93395f9b68
Add support for PRESSURE_CBAR (centibars) (#58762)
* Add support for PRESSURE_CBAR (centibars).  This is the standard UOM for tensiometers.

While the data could be converted into something like MBAR, and displayed
like that, the correct UOM for this type of sensor is CBAR.  Displaying
it as MBAR would be the same as displaying air pressure as feet of Hg, while
technically correct, it's hard to understand when reading.

Adding support for this UOM will fix errors in the UI(statistics) about the unit not
matching a unit of the device_class.

* Add tests for PRESSURE_CBAR
2021-11-10 09:44:05 +01:00
Oliver Gruß eec84ad71e
Mqtt cover toggle add stop function (#59233)
* Change existing toggle to add new function

* Fixed using old property method to using actual protected variable.

* Adding service tests to new cover toggle function

* Working on comments from Pull Request 59233

* Adjust existing tests to fit new fake cover setup

* MockCover is calling state method of MockEntity but should call it from CoverEntity

* using different entity to get back test coverage
2021-11-10 09:03:20 +01:00
Allen Porter 01fe69511f
Bump google-nest-sdm to 0.3.9 (#59458) 2021-11-10 08:29:33 +01:00
enegaard 2ae77bd231
Fix rpi_camera setup hanging on initialization (#59316) 2021-11-10 08:14:16 +01:00
Erik Montnemery e20127d9ff
Minor refactor of template binary sensor (#59432)
* Minor refactor of template binary sensor

* pylint

* Tweak
2021-11-10 07:58:22 +01:00
ollo69 cde6e007bf
Remove 'UnicodeDecodeError' exception in AsusWrt (#59447) 2021-11-10 07:53:05 +01:00
Ville Skyttä 4273e5b507
Huawei LTE sensor updates (#59374)
* Add human readable name for eNodeB ID

* Mark various config and diagnostic sensors' entity category as such

* Add uptime sensor
2021-11-10 08:49:50 +02:00
kreene1987 1ea092a54f
Allow dict as input to zwave_js.set_value service (#59370)
* Original service data as a dict

Fixes per recommendation in #57336.

* Update homeassistant/components/zwave_js/const.py

agree, thanks

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2021-11-10 07:08:43 +01:00
Ryan Fleming 5e2d71dc90
Use unknown state for octoprint temperature sensors with None value (#59130)
* Mark octoprint temperature sensors as unavaible when value is not supplied

* Check for none explictly

* Do not mark the entity as unavailable

* Swap to using er.get_async
2021-11-10 05:52:29 +01:00
GitHub Action 86b12af3dc [ci skip] Translation update 2021-11-10 00:17:39 +00:00
Bram Kragten 4481fe11c4
Update frontend to 20211109.0 (#59451) 2021-11-09 14:40:21 -08:00
Robert Hillis 66f49d1826
Bump goalzero to 0.2.1 (#59437) 2021-11-09 21:46:44 +01:00
Robert Hillis 0c83a3284c
Bump pyefergy to 0.1.5 (#59439) 2021-11-09 21:45:14 +01:00
puddly 004d88caad
Bump zigpy-znp from 0.5.4 to 0.6.1 (#59442) 2021-11-09 15:12:17 -05:00
Franck Nijhof 11da932455
Upgrade debugpy to 1.5.1 (#59436) 2021-11-09 15:12:04 -05:00
Franck Nijhof ca2f343c51
Upgrade colorlog to 6.6.0 (#59440) 2021-11-09 21:30:23 +02:00
Bram Kragten 28c07f5c43
Fix CORS (#59360)
* Fix CORS

* rename

* Update view.py
2021-11-09 18:30:51 +01:00
epenet 7e81c6a591
Move onewire device compatibility checks (#59338)
* Move device compatibility checks to onewirehub

* Add test for dtoverlay warning

* Add tests for unknown device warning

* Move dtoverlay error

* Empty commit to retrigger tests

* Update description

* Patch asyncio.sleep to speed up the tests

Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-09 18:30:05 +01:00
Martin Hjelmare d5fcf0b622
Add zwave_js binary sensor entity category (#58703)
* Add zwave_js binary sensor entity category

* Handle non idle notification state

* Fix door state

* Fix duplicate door state description

* Add tests
2021-11-09 18:26:34 +01:00
Thanasis 4b228e3add
Add entity categories to most NUT entities (#58798)
* Add entity cateogories to most NUT entites

* changes to categories
2021-11-09 18:25:19 +01:00
Gábor Kiss 032786fcd8
Improve Shelly color mode switch for dual mode bulbs (#58971)
* Shelly color mode switch for SHCB-1

* Update light.py

* Update light.py

* Update homeassistant/components/shelly/light.py

Co-authored-by: Shay Levy <levyshay1@gmail.com>

* Update light.py

Co-authored-by: Shay Levy <levyshay1@gmail.com>
2021-11-09 18:24:40 +01:00
Brent Petit 59a0e5a773
Update python-ecobee-api to 0.2.14 (#59381) 2021-11-09 18:23:03 +01:00
Joakim Sørensen 355b3c2c3d
Bump pytraccar from 0.9.0 to 0.10.0 (#59429) 2021-11-09 18:20:34 +01:00
Joakim Sørensen 36ebbef243
Bump pytautulli from 21.10.0 to 21.11.0 (#59426) 2021-11-09 18:02:50 +01:00
Bram Kragten 6e7712da3c
Add periods to statistics_during_period ws (#59425) 2021-11-09 17:29:39 +01:00
Erik Montnemery 3d909b00d5
Remove unneeded dynamic lookup of domain (#59423) 2021-11-09 07:41:45 -08:00
Joakim Sørensen d05c80c8e4
Bump pylaunches from 1.0.0 to 1.2.0 (#59420) 2021-11-09 16:22:11 +01:00
jan iversen ad91e4b417
Simplify setup of tradfri entities (#59343)
* Simplify detection of devices.
2021-11-09 15:18:13 +01:00
Joakim Sørensen 5177fabee0
Bump pyuptimerobot from 21.9.0 to 21.11.0 (#59418) 2021-11-09 14:50:35 +01:00
Joakim Sørensen 56b1f26e7d
Bump pycfdns from 1.2.1 to 1.2.2 (#59416) 2021-11-09 14:49:45 +01:00
Ville Skyttä 51510c542a
Remove const.HTTP_* status constants (#58380) 2021-11-09 13:01:46 +01:00