Commit Graph

32537 Commits (263101b2ab56a58f0bc9989f5a43fd404044f80d)

Author SHA1 Message Date
Simone Chemelli 06d35853b6
Fix typo in attribute for Fritz (#59791) 2021-11-16 19:30:50 +01:00
epenet 0dcfd55c84
Adjust async_step_usb signature for strict typing (#59773)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-16 19:03:50 +01:00
Joakim Plate f0b3fbc5a7
Always fire event for known devices in rfxtrx (#58845) 2021-11-16 19:03:18 +01:00
Robert Svensson c7c1d6000f
Add type hints to Siren and Switch deCONZ platforms (#59602)
* Add typing to Siren and Switch deCONZ platforms

* Update homeassistant/components/deconz/switch.py

Co-authored-by: Matthias Alphart <farmio@alphart.net>

* Update homeassistant/components/deconz/switch.py

Co-authored-by: Matthias Alphart <farmio@alphart.net>

* Update homeassistant/components/deconz/switch.py

Co-authored-by: Matthias Alphart <farmio@alphart.net>

* Update homeassistant/components/deconz/siren.py

Co-authored-by: Matthias Alphart <farmio@alphart.net>

* Update homeassistant/components/deconz/siren.py

Co-authored-by: Matthias Alphart <farmio@alphart.net>

* Add Any import

* Update homeassistant/components/deconz/siren.py

Co-authored-by: Matthias Alphart <farmio@alphart.net>

Co-authored-by: Matthias Alphart <farmio@alphart.net>
2021-11-16 17:25:56 +01:00
Robert Hillis 16027b9f43
Fix mqtt undefined error (#59787) 2021-11-16 17:16:24 +01:00
Robert Hillis 14adcbc07c
Add tests for goalzero (#59446)
* Add tests for goalzero

* tweak

* tweak
2021-11-16 07:18:30 -08:00
Khole e9c8de25df
Add Hive Alarm Support (#59670)
* Add alarm support

* Update code coverage

* Update homeassistant/components/hive/alarm_control_panel.py

Co-authored-by: Allen Porter <allen.porter@gmail.com>

* Add alarm support

* Update code coverage

* Update homeassistant/components/hive/alarm_control_panel.py

Co-authored-by: Allen Porter <allen.porter@gmail.com>

* Update icon and device info

Co-authored-by: Allen Porter <allen.porter@gmail.com>
2021-11-16 07:18:09 -08:00
David Beitey 1bcd62cd32
Add topic_template for mqtt.publish (#53743)
Co-authored-by: Erik Montnemery <erik@montnemery.com>

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-11-16 16:13:54 +01:00
Simone Chemelli 8a02d87a17
Removed deprecated "device_state_attributes" for Amberelectric (#59672)
* Removed deprecated "device_state_attributes"

* Cleanup

* Postpone removal

* log deprecation warning

* Update homeassistant/helpers/entity.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-11-16 16:11:46 +01:00
epenet 4387bbfb94
Adjust async_step_mqtt signature for strict typing (#59761)
* Add MqttServiceInfo

* Adjust async_step_mqtt signature

* Adjust async_step_mqtt signature

* Adjust components

Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-16 13:30:38 +01:00
Maciej Bieniek f1d75f0dd7
Use source list property instead of the attribute in Denon AVR integration (#59768) 2021-11-16 12:40:54 +01:00
Robert Svensson 41e341028e
Add typing to deCONZ Fan and Light platforms (#59607) 2021-11-16 12:39:51 +01:00
epenet 476a59d248
Adjust async_step_dhcp signature for strict typing (#59751)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-16 12:19:50 +01:00
Aaron Bach a78176e192
Perform some Ambient PWS code cleanup (#58859)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-11-16 11:56:17 +01:00
epenet cca3cdb096
Use ZeroconfServiceInfo in bosch_shc (#58957)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-16 11:40:49 +01:00
Erik Montnemery 4f01631bd6
Allow triggering on all state changes, ignoring attributes (#59713)
* Allow triggering on all state changes, ignoring attributes

* Add comment

* Apply suggestions from code review

Co-authored-by: Franck Nijhof <git@frenck.dev>

Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-11-16 08:35:52 +01:00
Franck Nijhof 9256a033a6
Upgrade spotipy to 2.19.0 (#59728) 2021-11-16 02:23:59 +01:00
Michael 771922b871
Add support for property attribute shorthand in Fan entity (#59649) 2021-11-16 01:25:22 +01:00
GitHub Action 0228d11546 [ci skip] Translation update 2021-11-16 00:18:33 +00:00
epenet 4d96ca3ddb
Adjust async_step_homekit signature for strict typing (#59745)
* Use ZeroconfServiceInfo in async_step_homekit

* Update DiscoveryFlowHandler

* Update components
2021-11-15 17:27:04 -06:00
Philip Allgaier 646c996b42
Fix invalid string syntax in French OwnTracks config flow (#59752) 2021-11-15 14:30:48 -08:00
Aaron Bach ce3f918c2c
Fix bug in AirVisual re-auth (#59685) 2021-11-15 14:30:26 -08:00
epenet 1bd2d3c69e
Use ZeroconfServiceInfo in freebox (#59739)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-15 23:13:48 +01:00
J. Nick Koston 7122998307
Bump flux_led to 0.24.24 (#59740) 2021-11-15 23:13:37 +01:00
epenet 0b43cff377
Use ZeroconfServiceInfo in guardian (#59741)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-15 23:13:17 +01:00
epenet 032718abb1
Use ZeroconfServiceInfo in doorbird (#59737)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-15 14:43:52 -06:00
Matthias Alphart ca3e672b1d
Fix KNX rgb(w) color (#51060)
* calculate brightness from color; scale color

* fix merge

* fix sending color only for brightness independent rgb color

* fix tests for rgb and rgbw color

* use public match_max_scale
2021-11-15 20:42:59 +01:00
epenet 4f7e405a2c
Use zeroconf attributes in esphome (#58963)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-15 20:26:50 +01:00
epenet 3c42ea1a26
Use zeroconf attributes in forked-daapd (#58966)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-15 20:16:30 +01:00
Erik Montnemery e88ea2d48c
Show cast as playing when an app without media support is active (#59714) 2021-11-15 20:13:43 +01:00
Nathan Spencer eaaa53d8d5
Add button to litterrobot (#59734) 2021-11-15 20:09:22 +01:00
epenet ce9385d442
Use zeroconf attributes in elgato (#58958)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-15 20:04:21 +01:00
Daniel Hjelseth Høyer 0040606c65
Bump Tibber library to 0.21.0 (#59732) 2021-11-15 20:03:39 +01:00
Clifford Roche 811b33092b
Bump greeclimate to 0.12.5 (#59730) 2021-11-15 19:32:50 +01:00
Austin Mroczek 49c4886f40
Fix totalconnect config flow (#59461)
* update total_connect_client to 2021.10

* update for total_connect_client changes

* remove unused return value

* bump total_connect_client to 2021.11.1

* bump total_connect_client to 2021.11.2

* Move to public ResultCode

* load locations to prevent 'unknown error occurred'

* add test for zero locations

* put error message in strings

* test for abort and message from strings

* handle AuthenticationError in step_user

* update tests with exceptions

* update reauth with exceptions

* use try except else per suggestion

* only create schema if necessary

* catch auth error in async_setup_entry

* one more fix in test_init
2021-11-15 11:32:35 -06:00
Simone Chemelli 5fc51130ea
Replace util.get_local_ip in favor of components.network.async_get_source_ip() - part 4 (#58669)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-11-15 09:18:57 -08:00
epenet b3ffc1e183
Adjust async_step_zeroconf signature for strict typing (#59503)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-15 18:05:45 +01:00
Arto Jantunen 5cc594682f
Add unique id's to Vallox entities (#58459)
* Add unique id's to Vallox entities

* Cache uuid properties

Requested in code review.

Caching None isn't a problem as the underlying implementation of get_uuid
in the vallox_websocket_api library can never return None.

* Simplify get_uuid type check

Based on review comments.

* Set _attr_unique_id in init

* Import the library get_uuid under a different name

There are a few options here:

1. Rename the get_uuid method with a synonym
2. Import get_uuid under a different name
3. Convert get_uuid into a property
4. Rename get_uuid in the Vallox library

None of these options is that appealing. I'll start with option two,
anyways.
2021-11-15 10:28:19 -06:00
hesselonline a4208c0926
Add Reauth flow to Wallbox integration (#58743)
* Add Reauth flow to Wallbox integration

* Review comments processed

* Fixed tests

* Added test for reauth invalid

* Commit to compensate for timedrift, show changes
Compensating for timedrift in my devcontainer,
making a new commit with the right date/time. Requested changes
were done in a previous commit.

* remove reauth schema

* Update homeassistant/components/wallbox/__init__.py

Co-authored-by: J. Nick Koston <nick@koston.org>

Co-authored-by: J. Nick Koston <nick@koston.org>
2021-11-15 10:25:19 -06:00
hypnosiss de16ce1857
Fix relative import in MySensors (#59710)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-11-15 16:14:49 +01:00
epenet 1e5c767158
Add button entities to Renault (#59383)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-15 15:50:43 +01:00
Erik Montnemery 81d1899094
Bump pychromecast to 9.4.0 (#59716) 2021-11-15 14:50:40 +01:00
epenet a3885f4fda
Add frequency device class for sensor (#59700)
Co-authored-by: Hedda <rockerc.harley@gmail.com>
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-15 14:33:50 +01:00
József Kertész 1b5d32514f
Fix telnet fast state update (#59681) 2021-11-15 13:14:22 +01:00
Erik Montnemery acf58111c6
Correct initial update of async_track_template_result (#59705) 2021-11-15 13:00:46 +01:00
Aaron Bach 5370dd8122
Bump simplisafe-python to 2021.11.0 (#59692) 2021-11-15 11:23:25 +01:00
J. Nick Koston 96f7b0d910
Use atomicwrites for mission critical core files (#59606) 2021-11-15 11:19:31 +01:00
Giel van Schijndel 04a258bf21
fix(luftdaten): air pressure is reported in pascal instead of hecto pascal (#59687) 2021-11-15 09:51:57 +01:00
Joakim Plate c2d66956b0
Bump philips js to 2.7.6 (#59690) 2021-11-15 06:58:07 +01:00
Austin Mroczek 4963bb97d0
bump total_connect_client to 2021.11.4 (#59695) 2021-11-15 06:56:49 +01:00
GitHub Action f0c9f443d1 [ci skip] Translation update 2021-11-15 00:12:46 +00:00
Allen Porter 0991a30125
Pre-factor nest subscriber to library (#59462)
* Pre-factor nest subscriber to library

Move the nest subscriber to a library that can be reused in a future PR:
- From ConfigFlow for creating subscriptions
- On nest removal to delete subscriptions

This is pulled out of PR #59260 to make that easier to review.

* Resolve pylint error in nest api subscriber

* Remove duplicate constants
2021-11-14 16:08:22 -08:00
Ryan Fleming 9c2bff3b3b
Use octoprint printer flag status to check if printer is printing (#59663) 2021-11-14 21:06:42 +01:00
Franck Nijhof 9f2ec5c906
Upgrade wled to 0.10.0 (#59669)
* Upgrade wled to 0.10.0

* DeviceInfo expects a string, not a AwesomeVersion object
2021-11-14 21:03:00 +01:00
jjlawren 305d25b510
Set measurement entity_class for darksky temp & humidity (#59512) 2021-11-14 20:41:23 +01:00
Robert Hillis 85aeee7cc7
Add smartthings configuration_url (#58676) 2021-11-14 20:37:40 +01:00
Anton Malko cd988bded0
Update aiolookin to 0.0.4 version (#59684) 2021-11-14 20:36:14 +01:00
Robert Svensson c98172f9c1
Add typing to deCONZ Scene platform and deCONZ Services (#59603)
Co-authored-by: Matthias Alphart <farmio@alphart.net>
2021-11-14 19:47:15 +01:00
Aaron Bach 20fbb5b951
Perform some ReCollect Waste code cleanup (#58866) 2021-11-14 19:12:34 +01:00
Aaron Bach 03176dad7d
Perform some IQVIA code cleanup (#58862) 2021-11-14 19:11:36 +01:00
Aaron Bach 24c899cf50
Perform some Flu Near You code cleanup (#58860) 2021-11-14 19:10:05 +01:00
Aaron Bach 595184aa55
Perform some Notion code cleanup (#58863) 2021-11-14 19:08:35 +01:00
Aaron Bach 5694250445
Perform some Guardian code cleanup (#58861) 2021-11-14 19:07:34 +01:00
Aaron Bach 198b18dd00
Perform some OpenUV code cleanup (#58864) 2021-11-14 19:06:27 +01:00
Aaron Bach 568df3d972
Perform some RainMachine code cleanup (#58865) 2021-11-14 19:05:38 +01:00
Peeter N 5b5b79f0e5
Set MaxCube Climate properties using class _attr_ properties (#58910) 2021-11-14 18:52:35 +01:00
flyize 70de7db197
Update surepetcare services.yaml (#58892) 2021-11-14 18:33:34 +01:00
JumpmanJunior d9f3cff606
Fix IAD and vis for DS2438 1wire sensor (#59126)
* Fix vis and IAD for DS2438

* Fix IAD and vis for DS2438

* Fix IAD and vis for DS2438

* Fix IAD and vis for DS2438

* Fix IAD and vis for DS2438

* Fix IAD and vis for DS2438

* Fix IAD and vis for DS2438

* Fix IAD and vis for DS2438

* Fix IAD and vis for DS2438
2021-11-14 17:30:03 +01:00
Paulus Schoutsen afa7ca1222
Drop block on local proxies from HA Cloud (#59334) 2021-11-14 08:11:12 -08:00
csgitmeup 26f3d50a32
Bump pykodi to 0.2.7 (#59251) 2021-11-14 17:06:06 +01:00
Michael d5f85f393d
Add entity categorisation to AVM Fritz!Smarthome devices (#59287) 2021-11-14 17:05:18 +01:00
Aidan Timson 5ec4a502b0
Check Honeywell Lyric token is valid before updating data (#59310) 2021-11-14 17:04:04 +01:00
Arthur Zapparoli 46160c2a89
Add Camila, a missing Amazon Polly voice for Brazilian Portuguese (#59346) 2021-11-14 17:00:33 +01:00
tizzen33 8b676f4252
Add Toon Humidity Sensor (#59488)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-11-14 16:59:09 +01:00
Jesse Hills e5129042ad
Fix ESPHome state watching when new state is None (#59528) 2021-11-14 16:49:45 +01:00
J. Nick Koston 3175bca37d
Bump flux_led to 0.24.21 (#59662) 2021-11-14 11:56:06 +01:00
Robert Svensson 2ca874a15c
Add configuration_url to deCONZ device when entry source is addon (#59598) 2021-11-14 11:49:02 +01:00
Regev Brody c6c8c1293f
Bump pyezviz to 0.1.9.8 (#58873)
* always create sensors for ezviz

* fix ezviz sensors
2021-11-14 11:20:02 +01:00
Franck Nijhof 458bc92124
Add test coverage to Twente Milieu (#59640) 2021-11-14 11:11:29 +01:00
Sean Dague da8bfed793
Remove mychevy component (#59629) 2021-11-14 11:09:32 +01:00
Joakim Sørensen f596cb19fd
Handle KeyError in getuser (#59667) 2021-11-14 10:53:19 +01:00
J. Nick Koston c323815760
Ensure flux_led bulbs turn on even if brightness is 0 (#59661) 2021-11-13 21:55:23 -08:00
ericvb 570f80a73c
Check early for empty passages in delijn (#59612)
* Add a check to verify if there is a passage

Late in the evening and at night, there can be no passages anymore, so check it to avoid an unnecessary exception

* One passage is enough! 

Requesting minimum 2 passages was an error due to counting from 1 and not zero

* Invert check and put it out of the try-catch code

Adding also the KeyError in the log message

* Clean up

* Putting comment in the correct python syntax

* Clean up

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-11-14 03:22:36 +01:00
Andrey Gorbunov 5860932635
Bump pymysensors to 0.22.1 (#59521)
* Bump pymysensors to 0.22.0 (#51265)

* Bump pymysensors to 0.22.1 (#51265)
2021-11-14 03:12:27 +01:00
GitHub Action fc539da42b [ci skip] Translation update 2021-11-14 00:12:48 +00:00
Raphaël Beamonte e42bb244b7
Add TP-Link LED control for Kasa plugs and strips (#59621) 2021-11-13 17:50:37 -06:00
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
jan iversen 06d29040b9
Catch connection errors that makes tradfri hang in startup (#59368) 2021-11-09 13:00:50 +01:00
Tom Brien fc58df6df9
Change Coinbase account state class to total (#59404) 2021-11-09 13:00:12 +01:00
Duco Sebel 62e7b0b887
Add category diagnostic to Switchbot 'calibrated' binary sensor (#59409) 2021-11-09 12:59:50 +01:00
Erik Montnemery 23fad60769
Don't use template in cover device condition (#59408) 2021-11-09 12:43:21 +01:00
Erik Montnemery b5ce84cd89
Add MQTT button (#59348) 2021-11-09 12:04:14 +01:00
Robert Hillis 4c2bf428d6
Revert "Add tests for goalzero" (#59407) 2021-11-09 12:01:12 +01:00
Erik Montnemery ff837c736e
Return False from state conditions on missing attributes (#59405) 2021-11-09 11:34:18 +01:00
Chen-IL 2fd6400952
Bump aioasuswrt to 1.4.0 (#59357) 2021-11-09 11:17:48 +01:00
John Howard 7e9863f9c8
Removing trailing `\` in tts entity description (#59313) 2021-11-09 10:51:54 +01:00
lambtho 5418e76c84
IOTA removal (#59380) 2021-11-09 10:40:28 +01:00
epenet d226df2511
Dyson removal (#59401)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-09 10:38:51 +01:00
rianadon a102c425a9
Add speed conversion function & add speed to units system (#53846)
* Add speed conversion function

* Add test for speed utility functions

* Update unit system tests

* Fix incorrect unit conversions in tests

* Fix some test errors

* Calculate speed units from smaller set of constants

* Fix typo in speed test

* Use pytest.approx for checking floating point values

* Change other instance of speeds needing to be pytest.approx

* Revert changes to unit system

* Fix oopsie in defining in/day and in/hr

* Parametrize test

* Add comments describing calculations & remove duplicate test
2021-11-09 08:12:28 +01:00
Tom Brien f46ba2b38b
Add state class to Coinbase sensors (#59109) 2021-11-09 07:28:39 +01:00
RenierM26 121a0915bc
Switchbot bump api version (#59398)
* Bump Switchbot api for reliability improvements.

* Bump api version, update mock test import to reflect api data changes.
2021-11-09 07:01:05 +01:00