Commit Graph

56114 Commits (6b85d17e7c0d1e2b89c958d575eacabb4e3ff756)

Author SHA1 Message Date
epenet 38a8e86dde
Cleanup supported_features in group (#82242)
* Cleanup supported_features in group

* Remove defaults
(already set to 0 in fan and media_player)
2022-11-17 10:45:32 +01:00
Thomas Dietrich ad8b882cb6
Switch statistics config to require either/both 'max_age' and 'sampling_size' (#80999)
* Remove default characteristic

* Remove default sampling_size

* Fix typo

* Fix typo
2022-11-17 10:31:06 +01:00
epenet 1b80c66195
Adjust type hints for FanEntityFeature (#82241)
* Adjust type hints for FanEntityFeature

* Adjust template default
2022-11-17 10:30:39 +01:00
Jan Bouwhuis 3d00923665
Improve MQTT type hints / refactor part 9 - light (#81151)
* Improve type hints light base

* improve type hints light schema basic

* Improve type hints light schema json

* Use MQTT Template models with light template

* Addtional type hints for template light

* Improve template hints for schema template

* Use strict type hints for templates

* MyPy corrections

* Follow up comments

* Follow up comments

* Revert changes schema_json

* Revert changes schema template

* Hints setup_entity_json and setup_entity_template

* Remove type hint on setup_entity JSON
2022-11-17 10:22:25 +01:00
epenet da2efde354
Set alarm and climate supported features default (#82247) 2022-11-17 10:21:55 +01:00
Jan Bouwhuis f60850586e
Remove `b64` encoding work-a-round for MQTT camera (#82244) 2022-11-17 10:11:25 +01:00
J. Nick Koston 4c8850ec7b
Add dhcp support for newer powerwall gateways (#82236) 2022-11-17 10:10:55 +01:00
epenet 6424c71daa
Cleanup supported_features in demo (#82239)
* Cleanup supported_features in demo cover

* Improve other platforms

* Adjust media_player patch
2022-11-17 09:39:46 +01:00
epenet 89c7568515
Remove duplicate code in hassfest model (#82203) 2022-11-17 09:10:37 +01:00
Kevin Stillhammer 146fe8f156
Rename convert_time_to_isodate to next_datetime (#82214) 2022-11-17 09:06:56 +01:00
epenet 17573196c8
Adjust type hints for CoverEntityFeature (#82238) 2022-11-17 08:39:44 +01:00
epenet 6856374f24
Cleanup supported_features in smartthings cover (#82240) 2022-11-17 09:32:42 +02:00
GitHub Action c999953514 [ci skip] Translation update 2022-11-17 00:26:24 +00:00
Marc Mueller ba8f69a5ce
Cache improvements [ci] (#80898)
* Cleanup old pip caches
* Add workflow to delete caches for closed PRs
2022-11-16 23:51:38 +01:00
J. Nick Koston 4b89d087bb
Bump home-assistant-bluetooth to 1.8.1 (#82222)
changelog: https://github.com/home-assistant-libs/home-assistant-bluetooth/compare/v1.8.0...v1.8.1
2022-11-16 23:08:17 +02:00
epenet e85e79052b
Improve climate type hints for supported_features (#82223) 2022-11-16 23:07:48 +02:00
J. Nick Koston 9d8dfc2d71
Add effects support to led-ble (#82224) 2022-11-16 23:07:02 +02:00
epenet e37211ad42
Use _attr_supported_features in demo climate (#82216) 2022-11-16 21:28:23 +01:00
epenet 39ac2c1101
Adjust type hints for ClimateEntityFeature (#82206) 2022-11-16 21:17:50 +01:00
J. Nick Koston 4e11246ba5
Create an issue when using older esphome firmwares when bluetooth support is enabled (#82162)
* Create an issue when using older esphome firmwares when bluetooth support is enabled

2022.11.0 has some significant stability imporvements with
BLE. Its is non-obvious if the user is running an older
esphome version that does not have the fixes

* name

* skip repair issue if a project name is set

* drop reflashing term

* Update homeassistant/components/esphome/strings.json

* Update homeassistant/components/esphome/translations/en.json

* Update homeassistant/components/esphome/translations/en.json

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

* Update homeassistant/components/esphome/translations/en.json

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

* Update homeassistant/components/esphome/strings.json

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

* Update homeassistant/components/esphome/strings.json

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

* Update homeassistant/components/esphome/strings.json

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-11-16 22:16:51 +02:00
epenet c62c19e58b
Use _attr_supported_features in tado climate (#82219) 2022-11-16 21:52:36 +02:00
epenet ba546e1072
Use _attr_supported_features in nexia climate (#82218) 2022-11-16 13:47:58 -06:00
Erik Montnemery a6ff8c5fb3
Fix Home Assistant Yellow tests (#82212) 2022-11-16 13:01:53 -06:00
J. Nick Koston 7ce6600f69
Fix missing await in nexia emergency heat (#82207)
fixes undefined
2022-11-16 19:02:09 +01:00
J. Nick Koston 08398370c5
Bump dbus-fast to 1.74.1 (#82202) 2022-11-16 11:26:47 -06:00
Erik Montnemery aaec464627
Add support for managing the silabs multiprotocol add-on (#82170)
* Add support for managing the silabs multiprotocol add-on

* Fix passing context when starting option flow

* Allow unloading a ha yellow config entry

* Fix tests

* Log data passed to ZHA option flow

* Improve ZHA migration logic

* Move tests

* Improve test coverage

* Remove dead code

* Drop automatic ZHA migration
2022-11-16 17:38:07 +01:00
Erik Montnemery 607a0e7697
Reduce size of get_statistics_during_period WS API response (#82131) 2022-11-16 17:36:30 +01:00
Erik Montnemery bb64b39d0e
Minor refactor of zha config flow (#82200)
* Minor refactor of zha config flow

* Move ZhaRadioManager to a separate module
2022-11-16 17:13:23 +01:00
epenet f952b74b74
Adjust type hints for AlarmControlPanelEntityFeature (#82186) 2022-11-16 17:08:42 +01:00
J. Nick Koston 1f0691bf18
Bump bluetooth-auto-recovery to 0.4.0 (#82195) 2022-11-16 17:07:01 +01:00
J. Nick Koston 03e6132d98
Fix static version in homekit tests (#82201) 2022-11-16 09:37:00 -06:00
epenet 615f7204cb
Add type hints to mobile app webhooks (#82177) 2022-11-16 16:07:43 +01:00
Franck Nijhof 6a1bb8c421
Deprecate Python 3.9 (#82193) 2022-11-16 15:38:10 +01:00
rappenze f87ef742e8
Use parameterized test for better code readability (#82194)
* Use parameterized test for better code readability

* Use parameterized test for better code readability

* Update tests/components/fibaro/test_config_flow.py

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

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-11-16 15:27:20 +01:00
epenet 871b4135ee
Remove unused variable in qvr_pro (#82190) 2022-11-16 15:26:37 +01:00
Martin Hjelmare ecb7509333
Add tibber price sensor state class (#82189) 2022-11-16 15:12:08 +01:00
epenet 5d78632d04
Adjust type hints for CameraEntityFeature (#82191) 2022-11-16 14:44:08 +01:00
Aarni Koskela 4f7b583f19
Fix shadowing of outer name in config_validation (#82088)
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-11-16 14:04:57 +01:00
shou72 987b840665
Add Tuya wkcz thermostat sensors and switches (#81667)
fixes undefined
2022-11-16 13:51:33 +01:00
Olliver Schinagl 7dfb8dda0a
Keep rest_command interface consistent (#82116)
rest_command: Keep interface consistent

This is a tiny cosmetic patch, where we keep the variable names of the
interface more consistent, to avoid having to wonder "is it a name or a
command?".

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
2022-11-16 13:30:05 +01:00
Yukon Vinecki 9098592257
Fix Z-Wave JS cover stop support (#78723)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-11-16 13:14:14 +01:00
Aarni Koskela 322cb352ac
Use functools.cache instead of global in hassfest requirements (#82124) 2022-11-16 13:13:45 +01:00
Robert Hillis d38bae76be
Add missing strings in Onvif (#82141) 2022-11-16 13:04:34 +01:00
Owen Johnson 3695f39515
Correctly Map Heavy Rain and Thunderstorms (#80926) 2022-11-16 13:02:26 +01:00
epenet 0538154767
Add type hints to requirements script (#82075) 2022-11-16 13:00:35 +01:00
Erik Montnemery 1582d88957
Remove deprecated history WS API (#82136) 2022-11-16 12:54:03 +01:00
Diogo Gomes 7999f109d1
Fix ONVIF subscription errors (#81965)
fixes undefined
2022-11-16 12:51:14 +01:00
Robert Svensson af6338343e
Remove (2021) backwards supporting functionality from UniFi (#81981) 2022-11-16 12:49:10 +01:00
Erik Montnemery 9b8f94363c
Fix statistic_during_period for data with holes (#81847) 2022-11-16 12:46:29 +01:00
epenet a91abebea8
Use IntFlag for EntityFeature (#81903) 2022-11-16 12:43:17 +01:00