Commit Graph

39163 Commits (9c3b40dad116bccc349b19f50c024b85590e33d2)

Author SHA1 Message Date
epenet dd7a06b9dc
Use unit_conversion in components (#78991) 2022-09-23 17:33:32 +02:00
Jc2k ffd88ab50e
Enable Thread transport in homekit_controller (#78994) 2022-09-23 16:09:10 +01:00
J. Nick Koston 5477ebdb13
Avoid creating iBeacon trackers when the device has no name (#78983) 2022-09-23 05:06:24 -10:00
Joakim Plate ace9592aa1
Enable strict typing for rfxtrx (#74927)
* Additional typing

* Enable strict typing

* Avoid changes causing coverage change

* Adjust comment on force update

* Rename to replace_devices

* Reduce typing scope

* Adjust mypy
2022-09-23 16:47:58 +02:00
Diogo Gomes 67779089cd
Bump pyipma to 3.0.5 (#78936)
* fix #78928 and review of #78332

* address comment
2022-09-23 16:23:33 +02:00
Artem Draft ab4c1ebfd6
Add Button platform to Bravia TV (#78093)
* Add Button platform to Bravia TV

* Add button.py to coveragerc

* improve callable type
2022-09-23 15:39:24 +02:00
Artem Draft 7c460cc641
Add PSK auth and SSDP discovery to Bravia TV (#77772) 2022-09-23 09:03:43 -04:00
epenet 83b426deb0
Adjust normalization routines in recorder statistics (#78966) 2022-09-23 08:27:27 -04:00
Raman Gupta 95e3572277
Retire climacell entirely (#78901)
* Retire climacell entirely

* remove fixtures

* remove const file

* Remove all traces of climacell integration

* missed some
2022-09-23 09:05:55 +02:00
J. Nick Koston a7da155a2a
Bump yalexs to 1.2.2 (#78978) 2022-09-22 23:39:23 -04:00
J. Nick Koston 2b8d582894
Remove min rssi setting from iBeacon (#78843) 2022-09-22 23:39:00 -04:00
Robert Hillis 0ccb495209
Radarr Config Flow (#78965) 2022-09-22 22:16:24 -04:00
Erik Montnemery 6b0c9b6a6a
Simplify energy settings (#78947) 2022-09-22 21:58:15 -04:00
GitHub Action bbe19e6255 [ci skip] Translation update 2022-09-23 00:32:50 +00:00
Nathan Spencer 8297317f2a
Bump pylitterbot to 2022.9.6 (#78970) 2022-09-22 14:14:43 -10:00
Aaron Bach 48744bfd68
Replace RainMachine freeze protection temperature sensor with a select (#76484)
* Migrate two RainMachine binary sensors to config-category switches

* Removal

* Replace RainMachine freeze protection temperature sensor with a select

* Fix CI

* Show options in current unit system

* Have message include what entity is replacing this sensor

* Don't define a method for every dataclass instance

* Add issue registry through helper

* Breaking change -> deprecation

* Naming

* Translations

* Remove extraneous list

* Don't swallow exception

* Don't be prematurely defensive

* Better Repairs instructions
2022-09-22 13:19:33 -06:00
epenet 5c7d40cccf
Rename property in Plugwise EntityDescription (#78935) 2022-09-22 18:55:57 +02:00
epenet ddf56baf7a
Move temperature utility to unit_conversion (#78960) 2022-09-22 18:31:50 +02:00
starkillerOG 090d004122
Bump motionblinds to 0.6.13 (#78946) 2022-09-22 06:17:53 -10:00
Joakim Plate e46180ee76
Add binary sensor platform to Nibe Heatpump (#78927)
* Add binary_sensor platform

* Enable binary_sensor platform

* Add binary_sensor to coveragerc

* Apply suggestions from code review

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-09-22 17:57:20 +02:00
epenet c8491c4404
Move volume utility to unit_conversion (#78955)
* Move volume utility to unit_conversion

* Split tests
2022-09-22 17:49:45 +02:00
epenet 523d8d246b
Move pressure utility to unit_conversion (#78953) 2022-09-22 16:44:09 +02:00
epenet 0767cdd935
Move energy and power utilites to unit_conversion (#78950)
* Move energy and power utilites to unit_conversion

* Move tests
2022-09-22 15:39:49 +02:00
Jafar Atili c97817bb0e
Add Button platform to switchbee integration (#78386)
* Added Button platform to switchbee integration

* fixed review comments

* Addressed CR comments

* Update homeassistant/components/switchbee/button.py

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

* Update homeassistant/components/switchbee/button.py

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

* Update homeassistant/components/switchbee/button.py

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

* removed the zone name from the entity name

* Re-add space

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-09-22 14:20:32 +02:00
epenet 6002377d4f
Convert UnitConverter protocol to a class (#78934)
* Convert UnitConverter protocl to a class

* Remove logic change

* Use TypeVar

* Remove NORMALIZED_UNIT from pressure

* Reduce size of PR

* Reduce some more

* Once more

* Once more

* Remove DEVICE_CLASS
2022-09-22 14:15:22 +02:00
Joakim Plate 27d1c1f471
Nibe Heat Pump after merge fixups (#78931) 2022-09-22 12:17:04 +02:00
Raman Gupta a286600b03
Add debug logging to tomorrowio and mask API key (#78915)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-09-22 10:09:37 +02:00
rikroe da4ceea647
Bump bimmer_connected to 0.10.4 (#78910)
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2022-09-22 08:53:29 +02:00
epenet 713fb874a8
Add NORMALISED_UNIT to UnitConverter (#78920)
* Add NORMALISED_UNIT to UnitConverter

* Adjust statistics

* Rename
2022-09-22 08:50:08 +02:00
Joakim Plate f5120872aa
Support for nibe heat pumps with local access (#78542)
* Add nibe local integration

* Add sensor platform

* Enable sensor platform

* Fix manifest

* Correct domain after rename

* Adjust tests for rename

* Correct codeowners

* Add requirements for tests

* Grab coil by name

* Switch to home assistant error

* Config entry always exist

* Switch to create task

* Bump to 0.5.0

* Use new coils access

* Remove unneeded check

* Use single instance of logger

* Test invalid ip

* Don't allow coil to be None

* Remove sleep

* Initialize data in coordinator init

* Add utils to ignore

* Update homeassistant/components/nibe_heatpump/manifest.json

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

* Use generator instead

* Use tenacity as retry decorator

* Use package instead of name to get logger

* Skip broad exception handling

* Catch missing coil exception

* Add missing test

Co-authored-by: J. Nick Koston <nick@koston.org>
2022-09-22 08:43:30 +02:00
epenet 39315b7fe3
Introduce UnitConverter protocol (#78888)
* Introduce ConversionUtility

* Use ConversionUtility in number

* Use ConversionUtility in sensor

* Use ConversionUtility in sensor recorder

* Add normalise to ConversionUtility

* Revert changes to recorder.py

* Reduce size of PR

* Adjust recorder statistics

* Rename variable

* Rename

* Apply suggestion

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

* Apply suggestion

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

* Apply suggestion

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

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-09-22 07:18:00 +02:00
Raman Gupta e62e21ce46
Bump pytomorrowio to 0.3.5 (#78914) 2022-09-22 07:10:13 +02:00
Allen Porter d034fd2629
Prompt user to remove application credentials when deleting config entries (#74825)
* Prompt user to remove application credentials when deleting config entries

* Adjust assertions on intermediate state in config entry tests

* Add a callback hook to modify config entry remove result

* Improve test coverage and simplify implementation

* Register remove callback per domain

* Update homeassistant/components/application_credentials/__init__.py

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

* Fix tests to use new variable name including domain

* Add websocket command to return application credentials for an integration

* Remove unnecessary diff

* Apply suggestions from code review

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-09-21 21:02:40 -07:00
Paulus Schoutsen 56e5774e26
Disable force update Netatmo (#78913) 2022-09-21 22:31:14 -04:00
spycle 0e0318dc53
Add Keymitt BLE integration (#76575)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-09-21 15:44:37 -10:00
GitHub Action bbb5d6772c [ci skip] Translation update 2022-09-22 00:27:20 +00:00
J. Nick Koston 488b04fc8b
Handle default RSSI values from bleak in bluetooth (#78908) 2022-09-21 17:03:50 -04:00
uvjustin 420285f7ef
Support announce and enqueue in forked-daapd (#77744) 2022-09-21 14:08:28 -04:00
J. Nick Koston e079968ef4
Handle timeout fetching bond token in config flow (#78896) 2022-09-21 14:03:05 -04:00
J. Nick Koston 0a8a5b973a
Fix samsungtv to abort when ATTR_UPNP_MANUFACTURER is missing (#78895) 2022-09-21 14:02:54 -04:00
J. Nick Koston 17ddc40784
Bump pylutron_caseta to 0.15.2 (#78900) 2022-09-21 14:02:34 -04:00
J. Nick Koston 4d167856a5
Bump unifi-discovery to 1.1.7 (#78898) 2022-09-21 14:02:01 -04:00
epenet ca78b1a77d
Add new energy utility (#78883)
* Add new energy utility

* Adjust STATISTIC_UNIT_TO_VALID_UNITS
2022-09-21 19:40:40 +02:00
Aaron Bach fa245e24f8
Fix bug wherein RainMachine services use the wrong controller (#78780) 2022-09-21 13:34:04 -04:00
Erik Montnemery cd6697615f
Validate units when importing statistics (#78891) 2022-09-21 12:08:53 -04:00
Jc2k e7b594b5cf
Fix parsing Eve Energy characteristic data (#78880) 2022-09-21 05:41:01 -10:00
Michael 2c08dc509f
Check Surveillance Station permissions during setup of Synology DSM integration (#78884) 2022-09-21 11:27:05 -04:00
Ernst Klamer c4eafb98fa
Add support for Kegtron Smart (Beer) Keg Monitor BLE devices (#78709) 2022-09-21 05:09:39 -10:00
epenet d7382aadfe
Add new power utility (#78867)
* Add power utility

* Fix tests
2022-09-21 14:48:38 +02:00
epenet 664a576113
Cleanup Plenticore select entity (#78877) 2022-09-21 14:32:25 +02:00
epenet e58dd6df95
Cleanup Plenticore switch entity (#78878) 2022-09-21 13:46:43 +02:00
epenet cf3b5ff7f9
Cleanup properties in Plenticore sensor (#78879) 2022-09-21 13:37:53 +02:00
epenet a605b6bcf1
Fix typo in tuya select (#78881) 2022-09-21 13:27:11 +02:00
epenet 063074acf5
Adjust Plenticore sensor initialisation (#78869) 2022-09-21 12:08:00 +02:00
epenet 988e8bfe7b
Adjust Plenticore select initialisation (#78873) 2022-09-21 11:58:59 +02:00
epenet 9e31cf51cb
Adjust Plenticore switch initialisation (#78871) 2022-09-21 11:54:14 +02:00
epenet daba474182
Use SelectEntityDescription in kostal plenticore (#78840) 2022-09-21 11:31:14 +02:00
epenet 67f7c17d34
Use SwitchEntityDescription in kostal plenticore (#78841) 2022-09-21 11:30:17 +02:00
Aaron Bach e265848b63
Remove deprecated Flu Near You integration (#78700) 2022-09-21 11:24:21 +02:00
J. Nick Koston d7b58f6949
Bump pySwitchbot to 0.19.11 (#78857) 2022-09-21 11:21:14 +02:00
J. Nick Koston a981d096aa
Improve code readability in iBeacon integration (#78844) 2022-09-21 11:18:38 +02:00
epenet bc120e9ff2
Use SensorEntityDescription in kostal plenticore (#78842) 2022-09-21 11:17:23 +02:00
Midbin 00f1f3e355
Change minimal brightness value for hue.activate_scene service to 1 (#78154)
* Adjust Implementation Hue Scene Brightness so it cannot be 0
2022-09-21 11:12:50 +02:00
Michael Jäger 7a6897c757
Add deconz current hvac operation to thermostate based on "state" (#59989)
* deconz - add current hvac operation to thermostate based on "state"

* deconz - extend current hvac operation to thermostate based on "state" and "mode"

* Add tests for current hvac action

* Add boost mode as special case

* format using Black

* sort imports

* Add test for device with mode none and state none

* Update homeassistant/components/deconz/climate.py

Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>

* Fix test_climate.py test_no_mode_no_state

* Add test for boost mode

Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2022-09-21 08:20:44 +02:00
GitHub Action d7eb277bc8 [ci skip] Translation update 2022-09-21 00:32:35 +00:00
Erik Montnemery dae00c70de
Allow selecting display unit when fetching statistics (#78578) 2022-09-20 17:43:57 -04:00
Marek Skrobacki 3f512e38db
Fix Sonos cover art when browsing albums (#75105) 2022-09-21 04:03:10 +08:00
epenet 3cf26c4a5d
Move constants in kostal_plenticore (#78837) 2022-09-20 20:28:27 +02:00
epenet e58531f118
Add MqttData helper to mqtt (#78825)
* Add MqttData helper to mqtt

* Adjust client for circular dependencies

* Move MqttData to models.py

* Move get_mqtt_data to util.py
2022-09-20 19:40:06 +02:00
Robert Hillis 2a2cc79fc3
Add Lidarr integration (#66438) 2022-09-20 11:51:29 -04:00
starkillerOG 3776fc3b9f
Add status codes 23 and 26 to Xiaomi Miio vacuum (#78289)
* Add status codes 23 and 26

* change status 26
2022-09-20 17:32:10 +02:00
Joakim Plate 924bffc7d0
Add query data to google assistant diagnostic (#78828) 2022-09-20 17:05:10 +02:00
Joakim Plate bd0daf68e0
If brightness is not available, don't set a value (#78827) 2022-09-20 07:57:54 -04:00
J. Nick Koston bb78d52f34
Add iBeacon Tracker integration (#78671) 2022-09-19 21:43:41 -04:00
J. Nick Koston 12856dea05
Create an issue when Bluetooth is active on old HAOS (#78430)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-09-19 21:02:13 -04:00
J. Nick Koston a02eed9bd8
Bump dbus-fast to 1.5.1 (#78802) 2022-09-19 20:59:07 -04:00
J. Nick Koston 635c2f3738
Change bluetooth source to be the address of the adapter on Linux (#78795) 2022-09-19 20:58:18 -04:00
J. Nick Koston 5829ff5aea
Prevent tilt_ble from matching generic ibeacons (#78722) 2022-09-19 20:57:18 -04:00
GitHub Action 4b2bea4972 [ci skip] Translation update 2022-09-20 00:30:13 +00:00
Brad Downey f07204ba55
Add unique_id to ohmconnect (#78479)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-09-19 21:54:01 +02:00
Nathan Spencer 10a12b1bc9
Bump pylitterbot to 2022.9.5 (#78785) 2022-09-19 21:29:29 +02:00
mkmer 08c8ab7302
Bumped AIOAladdinConnect 0.1.46 (#78767) 2022-09-19 21:18:53 +02:00
Aaron Bach d591787077
Guard Guardian switches from redundant on/off calls (#78791) 2022-09-19 21:15:32 +02:00
y34hbuddy 691df5a394
Add support for imperial units of measure in volvooncall (#77669) 2022-09-19 16:22:13 +02:00
G Johansson acf8bfb299
Migrate Trafikverket Train to new entity naming style (#75208) 2022-09-19 16:11:39 +02:00
epenet 7cfc28e915
Add unit constant for revolutions per minute (#78752) 2022-09-19 15:46:47 +02:00
Kenneth J. Miller 3b653de3fd
Fix Airly CO sensor unit (#78649) 2022-09-19 15:35:13 +02:00
epenet 75e52ef389
Use DOMAIN constant in plex (#78764) 2022-09-19 15:08:40 +02:00
epenet d83e9072e7
Use attributes in zoneminder (#77895) 2022-09-19 15:05:29 +02:00
Justin Vanderhooft 3eab4a234b
Add support for controlling manual watering time on Melnor Bluetooth devices (#78653)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-09-19 06:56:34 -05:00
Nico 3dc6db94ce
Bump aioimaplib to 1.0.1 (#78738) 2022-09-19 12:59:09 +02:00
Mick Vleeshouwer 33bd840c0a
Bump pyoverkiz to 1.5.3 in Overkiz integration (#78743) 2022-09-19 12:57:52 +02:00
Jorim Tielemans cd6959d809
Update psutil to 5.9.2 (#78745) 2022-09-19 12:56:08 +02:00
epenet f30a94daa1
Improve type hints in keenetic_ndms2 (#77649) 2022-09-19 12:35:59 +02:00
epenet 72bf1ca6dd
Use attributes in kef media player (#77650) 2022-09-19 10:21:48 +02:00
Marc Mueller b9d34ce169
Improve sonos typing (#78661) 2022-09-19 09:59:12 +02:00
J. Nick Koston 9655f30146
Handle Modalias missing from the bluetooth adapter details on older BlueZ (#78715) 2022-09-18 21:09:45 -04:00
GitHub Action 1f92804211 [ci skip] Translation update 2022-09-19 00:27:46 +00:00
J. Nick Koston a1735b742c
Drop PARALLEL_UPDATES from switchbot (#78713) 2022-09-18 16:36:50 -05:00
Tom Brien d33cc2c83e
Add GALA currency to Coinbase (#78708)
Add GALA currency
2022-09-18 23:30:09 +02:00
Maciej Bieniek 721fddc016
Bump `brother` backend library (#78072)
* Update integration for a new library

* Update tests

* Add unique_id migration

* Update integration and tests for lib 2.0.0

* Improve test coverage

* Improve typing in tests
2022-09-18 23:28:17 +02:00
Orad SA 3c6c673a20
Add state_class to Waze travel time for statistics support (#77386) 2022-09-18 22:34:53 +02:00
Joakim Sørensen 3655958d26
Seperate timeout errors in rest requests (#78710) 2022-09-18 21:38:27 +02:00
Arto Jantunen 8fd18cda30
Fix Vallox extract and supply fan speed measurement units (#77692) 2022-09-18 21:35:19 +02:00
Brett Adams fa7f04c34b
Code Quality Improvements for Advantage Air (#77695)
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-09-18 21:27:09 +02:00
Raman Gupta 4fbf44cced
Create repair issue if zwave-js-server is too old (#78670)
* Create repair issue if zwave-js-server is too old

* Switch is_fixable to false

* review comments
2022-09-18 21:25:37 +02:00
Aaron Bach d74f5c6ee0
Make Guardian Repairs strings more consistent (and instructive) (#78694)
Make Guardian Repairs strings consistently helpful
2022-09-18 21:24:21 +02:00
Erik Montnemery 6094c00705
Warn user if Tasmota devices are configured with invalid MQTT topics (#77640) 2022-09-18 19:50:43 +02:00
Jan Bouwhuis 354411feed
Link manually added MQTT entities the the MQTT config entry (#78547)
Co-authored-by: Erik <erik@montnemery.com>
2022-09-18 12:55:31 -04:00
J. Nick Koston 49ead219a5
Bump thermobeacon-ble to 0.3.2 (#78693) 2022-09-18 12:47:13 -04:00
Aaron Bach a282e41d68
Revert unintended OpenUV unique ID change (#78691) 2022-09-18 09:24:13 -06:00
J. Nick Koston d4181aa911
Fix bluetooth callback matchers when only matching on connectable (#78687) 2022-09-18 10:22:54 -05:00
Raman Gupta 4d6151666e
Handle multiple files properly in zwave_js update entity (#78658)
* Handle multiple files properly in zwave_js update entity

* Until we have progress, set in progress to true. And fix when we write state

* fix tests

* Assert we set in progress to true before we get progress

* Fix tests

* Comment
2022-09-18 14:56:46 +02:00
Franck Nijhof 2eb265f28b
Remove mDNS iteration from Plugwise unique ID (#78680)
* Remove mDNS iteration from Plugwise unique ID

* Add iteration to tests
2022-09-18 12:17:28 +02:00
G Johansson 59aef20e99
Add missing typing met config flow (#78645) 2022-09-18 11:46:43 +02:00
Joakim Sørensen 87f8ebceb2
Limit Github event subscription if polling is disabled (#78662) 2022-09-18 11:40:42 +02:00
Joakim Sørensen 69c5d910d4
Remove deprecated update binary sensor from Supervisor (#78664) 2022-09-18 09:58:14 +02:00
Pete 1f7c90baa0
Fix fan speed regression for some xiaomi fans (#78406)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-09-17 23:45:31 -04:00
J. Nick Koston b8ccf53799
Fix switchbot not accepting the first advertisement (#78610) 2022-09-17 23:45:04 -04:00
Marc Mueller f7ef9eb91b
Remove low level call from fritzbox_callmonitor (#78668) 2022-09-18 03:08:55 +02:00
Marc Mueller dbc02707a9
Improve media_player typing (#78666) 2022-09-18 03:08:17 +02:00
GitHub Action e9eb5dc338 [ci skip] Translation update 2022-09-18 00:29:50 +00:00
Aaron Bach ca5a9c9456
Allow multiple instances of OpenUV via the `homeassistant.update_entity` service (#76878)
* Allow for multiple instances of the OpenUV integration

* Docstring

* Remove Repairs

* Fix tests

* Slightly faster OpenUV object lookup

* Entity update service

* Remove service descriptions

* hassfest

* Simplify strings

* Don't add UI instructions to Repairs item

* Add a throttle to entity update

* Update homeassistant/components/openuv/__init__.py

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

* Switch from Throttle to Debouncer(s)

* Keep dispatcher for services

* Reduce change surface area

* Duplicate method

* Add issue registry through helper

* Update deprecation version

* Use config entry selector

* Remove device/service info

* Remove commented out method

* Correct entity IDs and better verbiage

* Fix tests

* Handle missing config entry ID in service calls

* Remove unhelpful comment

* Remove unused constants

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-09-17 17:56:45 -06:00
Justin Vanderhooft b87c452106
Bump melnor-bluetooth to v0.0.20 (#78642) 2022-09-17 17:19:19 -05:00
Aaron Bach 08e6e27a3b
Remove deprecated Guardian services (scheduled for 2022.10.0) (#78663)
Remove deprecated Guardian services (schedule for 2022.10.0)
2022-09-17 16:09:40 -06:00
J. Nick Koston 18eef5da1f
Restore history from bluetooth stack at startup (#78612) 2022-09-17 16:58:19 -05:00
Aaron Bach 13d3f4c3b2
Replace Guardian `disable_ap` and `enable_ap` services with a switch (#75034)
* Starter buttons

* Ready to go

* Replace Guardian `disable_ap` and `enable_ap` services with a switch

* Clean up how actions are stored

* Make similar to buttons

* Remove service definitions

* Docstring

* Docstring

* flake8

* Add repairs item

* Add a repairs issue to notify of removed entity

* Add entity replacement strategy

* Fix repairs import

* Update deprecation version

* Remove breaking change

* Include future breaking change version

* Naming
2022-09-17 15:01:57 -06:00
Jan Bouwhuis 1f410e884a
Make hass.data["mqtt"] an instance of a DataClass (#77972)
* Use dataclass to reference hass.data globals

* Add discovery_registry_hooks to dataclass

* Move discovery registry hooks to dataclass

* Add device triggers to dataclass

* Cleanup DEVICE_TRIGGERS const

* Add last_discovery to data_class

* Simplify typing for class `Subscription`

* Follow up on comment

* Redo suggested typing change to sasisfy mypy

* Restore typing

* Add mypy version to CI check logging

* revert changes to ci.yaml

* Add docstr for protocol

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>

* Mypy update after merging #78399

* Remove mypy ignore

* Correct return type

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2022-09-17 21:43:42 +02:00
epenet 391d895426
Enable disallow-any-generics in media-player (#78498)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2022-09-17 21:23:16 +02:00
Kevin Addeman b51fd7f688
Fix lutron_caseta get_triggers() raising error for non-button devices (caseta and ra3/hwqsx) (#78397) 2022-09-17 13:26:04 -05:00
Nathan Spencer 943fe657c5
Add additional status sensor state strings for Litter-Robot 4 (#78652) 2022-09-17 20:50:47 +03:00
J. Nick Koston 8cae33a730
Fix rachio not being able to be ignored (#78636)
Fixes #77272
2022-09-17 20:44:24 +03:00
Raman Gupta 01acc3d1e5
Fix zwave_js update entity startup state (#78563)
* Fix update entity startup state

* Only write state if there is a change

* Add test to show that when an existing entity gets recreated, skipped version does not reset

* Remove unused blocks

* Update homeassistant/components/zwave_js/update.py

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

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-09-17 20:43:35 +03:00
J. Nick Koston 6e4a0b9fdc
Switch recorder to use async_timeout instead of asyncio.wait_for (#78607) 2022-09-17 20:40:10 +03:00
G Johansson 51b01fcd80
Bump smhi-pkg to 1.0.16 (#78639) 2022-09-17 20:38:35 +03:00
epenet 64988521bb
Make use of generic EntityComponent (part 2) (#78494) 2022-09-17 18:18:53 +02:00
Marc Mueller bbf54e6f44
Improve light typing (#78641) 2022-09-17 17:37:39 +02:00
Franck Nijhof 5a6a474bbe
Update demetriek to 0.2.4 (#78646) 2022-09-17 17:15:11 +02:00
Franck Nijhof 24df3574bc
Automatically set up Awair during onboarding (#78632) 2022-09-17 15:04:09 +02:00
Sergio Conde Gómez 9acea07d31
Bump qingping-ble to 0.7.0 (#78630) 2022-09-17 06:59:29 -05:00
J. Nick Koston cd8a5ea1e2
Fix reconnect race in HomeKit Controller (#78629) 2022-09-17 05:13:33 -05:00
Nathan Spencer c3ca9f3ad1
Add litter level sensor for Litter-Robot 4 (#78602)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-09-17 05:03:12 -05:00
Nathan Spencer cc51052be5
Change litterrobot integration to cloud_push (#77741)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-09-17 04:29:56 -05:00
Joakim Sørensen 0b4e4e81d4
Handle connection issues with Traccar (#78624) 2022-09-17 10:26:59 +02:00
J. Nick Koston 98dd84f535
Ensure bluetooth callbacks are only fired when advertisement data changes (#78609) 2022-09-17 10:26:02 +02:00
J. Nick Koston 82407ca433
Switch yeelight to use async_timeout instead of asyncio.wait_for (#78606) 2022-09-17 08:35:53 +02:00
J. Nick Koston 5cde3ca4e1
Switch emulated_hue to use async_timeout instead of asyncio.wait_for (#78608) 2022-09-17 08:34:44 +02:00
Kevin Stillhammer f59c8d985d
Correct unit for here_travel_time distance sensor (#78303)
Signed-off-by: Kevin Stillhammer <kevin.stillhammer@gmail.com>

Signed-off-by: Kevin Stillhammer <kevin.stillhammer@gmail.com>
2022-09-16 21:03:18 -07:00
GitHub Action 38b087d220 [ci skip] Translation update 2022-09-17 00:27:28 +00:00
Aaron Bach b4356a432e
Replace SimpliSafe `clear_notifications` service with a button (#75283)
* Replace SimpliSafe `clear_notifications` service with a button

* Better log message

* Coverage

* Docstring

* Add repairs item

* Better repairs strings

* Mark issue as fixable

* Add issue registry through helper

* Update deprecation version
2022-09-16 16:41:17 -06:00
Kenneth J. Miller 84cd0da26b
Add Airly gas sensors (#77908)
* Add support for gases queryable via Airly API:
  CO, NO₂, O₃, SO₂
* Add tests for above sensors and update test fixtures
2022-09-16 15:19:30 -06:00
Raman Gupta 06178d3446
Only redact zwave_js values that are worth redacting (#78420)
* Only redact zwave_js values that are worth redacting

* Tweak test

* Use redacted fixture for test
2022-09-16 15:04:55 -06:00
epenet be17ba15db
Use attributes in demo media-player (#78461)
* Use attributes in demo media-player

* Use _attr_is_volume_muted

* Use _attr_shuffle

* Use _attr_sound_mode / _attr_sound_mode_list
2022-09-16 15:04:29 -06:00
On Freund 047c3862d7
Bump pyrisco to v0.5.5 (#78566)
Upgrade to pyrisco 0.5.5
2022-09-16 14:29:08 -06:00
Nathan Spencer e507e00317
Bump pylitterbot to 2022.9.3 (#78590) 2022-09-16 21:56:50 +03:00
Franck Nijhof 8774f34271
Update Awair config entry on discovery (#78521) 2022-09-16 18:42:44 +03:00
Marc Mueller 0b97dcf0bd
Use vol.Coerce for notify SourceType enum (#77930) 2022-09-16 16:46:26 +02:00
Hurzelchen 501b8b341f
Use commands enum in LG Netcast (#78584)
lg_netcast: Use LG_COMMAND constants instead of magic numbers
2022-09-16 16:17:46 +02:00
Jafar Atili 42c28cd074
Address late review of SwitchBee (#78585) 2022-09-16 16:10:40 +02:00
epenet f2a661026f
Fix kira remote implementation (#77878) 2022-09-16 15:11:12 +02:00
Jafar Atili 491177e5d3
Address late review of SwitchBee (#78412) 2022-09-16 14:19:50 +02:00
Martin Hjelmare 383c83d15f
Improve notify typing (#78575) 2022-09-16 12:52:24 +02:00
J. Nick Koston 085abc74ee
Reduce overhead to update passive bluetooth devices (#78545) 2022-09-16 12:24:20 +02:00
Rami Mosleh b093c2840b
Remove name key from config flow in Mikrotik (#78571) 2022-09-16 11:30:29 +02:00
Franck Nijhof a19a7e64d5
Fix WebSocket condition testing (#78570) 2022-09-16 11:18:00 +02:00
Franck Nijhof 564150169b
Update LaMetric config entry using DHCP discovery data (#78527)
* Update LaMetric config entry using DHCP discovery data

* Update translations
2022-09-16 08:35:12 +02:00
Phil Bruckner e7ca40156f
Bump life360 package to 5.1.1 (#78550) 2022-09-16 08:07:02 +02:00
GitHub Action ec258410c5 [ci skip] Translation update 2022-09-16 00:29:29 +00:00
Ricardo Steijn 635ed562ee
crownstone-sse: bump to 2.0.4 (#78538) 2022-09-15 18:05:55 +02:00
Erik Montnemery dd20a7ea62
Display statistics in the source's unit (#78031) 2022-09-15 12:01:24 -04:00
epenet 4dba2a85db
Improve type hints in trace (#78441) 2022-09-15 11:57:48 -04:00
epenet b29605060a
Enforce MediaPlayerState in hdmi_cec media player (#78522) 2022-09-15 11:48:05 -04:00
epenet 7d11509011
Cleanup self._attr_state in samsungtv media player (#78518) 2022-09-15 11:47:07 -04:00
Simone Chemelli bb5c1ad659
Remove some low level calls from Fritz (#77848)
Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2022-09-15 16:05:58 +02:00
Michael 6f02f7c6ce
Bump pyfritzhome to 0.6.7 (#78324) 2022-09-15 16:01:55 +02:00
epenet de7e12eeaf
Enable disallow-any-generics in light (#78499) 2022-09-15 08:47:05 -04:00
epenet a443cefa7b
Use self._attr_state in demo media player (#78520) 2022-09-15 08:44:20 -04:00
epenet cd2abf368f
Use self._attr_state in vlc_telnet media player (#78517) 2022-09-15 14:26:09 +02:00
epenet 96de76fc6f
Adjust MEDIA_CLASS_MAP in dlna-dms (#78458)
* Adjust MEDIA_CLASS_MAP in dlna-dms

* Revert
2022-09-15 14:04:07 +02:00
J. Nick Koston 4168892d0a
Bump aiohomekit to 1.5.8 (#78515) 2022-09-15 13:25:50 +02:00
J. Nick Koston 2331e2a55c
Bump led-ble to 0.10.1 (#78511) 2022-09-15 13:25:40 +02:00
J. Nick Koston 8ede711f68
Bump PySwitchbot to 0.19.9 (#78504) 2022-09-15 13:25:25 +02:00
J. Nick Koston 2c03578f6f
Bump yalexs_ble to 1.9.2 (#78508) 2022-09-15 13:25:12 +02:00
Erik Montnemery c0b04e9f91
Sort some code in the search integration (#78519) 2022-09-15 12:13:36 +02:00
epenet ada1cff4b1
Use new media player enums in homekit_controller (#78105)
* Use new media player enums in homekit_controller

* Replace OK/PROBLEM with ON/OFF

* Fix tests
2022-09-15 12:00:52 +02:00
epenet b56eabc35b
Enable disallow-any-generics in number (#78502) 2022-09-15 11:58:24 +02:00
Franck Nijhof eae384bbf7
Update sqlalchemy to 1.4.41 (#78507) 2022-09-15 11:54:18 +02:00
Franck Nijhof cf138c7266
Update pyotp to 2.7.0 (#78500) 2022-09-15 11:53:16 +02:00
epenet b4afb1cb6b
Make use of generic EntityComponent (#78492) 2022-09-15 11:53:00 +02:00
epenet 19ea95a6e4
Enable disallow-any-generics in update (#78501) 2022-09-15 11:29:11 +02:00
Erik Montnemery c37d294d12
Use reload helper to reload rest component (#78491) 2022-09-15 11:02:37 +02:00
epenet 2cc45cd302
Use new media player enums in bluesound (#78096) 2022-09-15 11:00:55 +02:00
Federico Marani 08449dc1bc
Bump aioftp to 0.21.3 (#78257) 2022-09-15 10:52:33 +02:00
Vincent Knoop Pathuis 035f206e95
Bump ultraheat-api to 0.4.3 (#78295) 2022-09-15 10:51:19 +02:00
J. Nick Koston 11789dd079
Bump bleak-retry-connector to 0.17.1 (#78474) 2022-09-15 10:40:52 +02:00
Franck Nijhof 4e7a99dc77
Update sentry-sdk to 1.9.8 (#78496) 2022-09-15 09:57:35 +02:00
ollo69 aa46ba4ad5
Add device class TV to AndroidTV (#78487) 2022-09-15 08:56:30 +02:00
Avi Miller c0cf9d8729
Add infrared brightness select entity for LIFX Night Vision bulbs (#77943)
* Add infrared brightness select entity for LIFX Night Vision bulbs

Signed-off-by: Avi Miller <me@dje.li>

* Code refactored from review comments

Signed-off-by: Avi Miller <me@dje.li>

* Update and refactor from code review feedback

Signed-off-by: Avi Miller <me@dje.li>

Signed-off-by: Avi Miller <me@dje.li>
2022-09-15 08:53:58 +02:00
starkillerOG ade4fcaebd
Use asyncio in XiaomiAqara instead of threading (#74979)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-09-15 08:36:56 +02:00
Erik Montnemery 84a812ad05
Allow setting number selector step size to 'any' (#78265)
* Allow setting number selector step size to 'any'

* Improve test coverage
2022-09-15 08:29:46 +02:00