Commit Graph

53842 Commits (39315b7fe3b13be5c026a5e7d7180ec3715ab882)

Author SHA1 Message Date
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
epenet 0d696b84b2
Cleanup root component imports in tests (#78893) 2022-09-21 06:57:41 -10: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
Franck Nijhof a81bb10ff9
Update yarl to 1.8.1 (#78866) 2022-09-21 13:59:42 +02:00
Franck Nijhof 166160e2b5
Add LaMetric button tests (#78754) 2022-09-21 13:57:40 +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 9e7c03af56
Use m3 as intermediate unit for volume conversions (#78861)
* Use m3 as SI volume standard unit

* Adjust comment

* 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-21 12:37:31 +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
Franck Nijhof 1800e98f05
Remove leftover debug print from Melnor (#78870) 2022-09-21 11:49:22 +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
epenet 0ac581a0b1
Cleanup EntityFeature in tests (#78859) 2022-09-21 10:48:55 +02:00
epenet c88a874063
Cleanup FlowResultType in tests (#78810) 2022-09-21 09:17:20 +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 f453726b18
Cleanup HVACAction and HVACMode in tests (#78813) 2022-09-20 20:30:54 +02:00
epenet 3cf26c4a5d
Move constants in kostal_plenticore (#78837) 2022-09-20 20:28:27 +02:00
Marc Mueller 6f782628b9
Pin Python patch versions [ci] (#78830) 2022-09-20 20:24:39 +02:00
Franck Nijhof 774d5138ca
Update PyJWT to 2.5.0 (#78776) 2022-09-20 20:17:49 +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
epenet 6b3c91bd6a
Cleanup ColorMode in tests (#78807) 2022-09-20 18:33:45 +02:00