Mask3007
2228ea5ee0
Add update entity to fritz integration ( #70096 )
2022-04-19 17:12:21 +02:00
Álvaro Fernández Rojas
5729209d5d
Update aioairzone to v0.4.0 ( #70280 )
2022-04-19 17:03:13 +02:00
arantes555
ba4ca3e38e
Add target_temp_step to generic_thermostat ( #58691 )
...
* Add target_temp_step to generic_thermostat
* Add target_temp_step to generic_thermostat : fix default + add tests
2022-04-19 17:16:37 +03:00
Franck Nijhof
d65e12ab6e
Add clear_skipped service to update entity ( #70116 )
2022-04-19 16:11:16 +02:00
Joakim Sørensen
9525077574
Add diagnostics platform to the Supervisor integration ( #70265 )
...
* Add diagnostics platform to the Supervisor integration
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-19 12:16:36 +02:00
Diogo Gomes
03874d1b65
Correct state restoring for Utility Meter sensors ( #66851 )
...
* fix merge
* backward compatability
* add status
* increase coverage
* increase further the coverage
* adds support for Decimal in SensorExtraStoredData
* more precise
* review
* don't restore broken last_reset
* increase coverage
* address review comments
* stale
* coverage increase
* Update homeassistant/components/utility_meter/sensor.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* catch corrupt files and respective tests
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-04-19 09:01:52 +02:00
Diogo Gomes
9dfd37c60b
Use CONF_NAME consistently in utility meter sensors with and without tariffs ( #69152 )
...
* apply name to tariff based sensors too
* change name without breaking entity_id
* address comments
2022-04-19 09:00:36 +02:00
hesselonline
84666ce05e
Rename wallbox non-config CONF_ variables ( #69737 )
2022-04-19 08:44:25 +02:00
J. Nick Koston
e70c8fa359
Refactor history_stats to minimize database access (part 1) ( #70134 )
2022-04-18 13:18:38 -10:00
IceBotYT
6c75eaa1bc
Add outage map alerts to PECO ( #69825 )
2022-04-18 23:22:14 +02:00
J. Nick Koston
f63465bd71
Add recorder platform to input_select ( #70223 )
2022-04-18 22:18:19 +02:00
Sebastian Lövdahl
8f4979ea17
Reduce state updates for OctoPrint ( #70146 )
2022-04-18 21:33:40 +02:00
ollo69
f4d4b52204
Improve AsusWrt test coverage ( #70215 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-04-18 09:20:40 -10:00
Franck Nijhof
1e4aacaeb1
Replace Alarm Control Panel FORMAT_ constants with CodeFormat enum ( #69861 )
2022-04-18 19:37:32 +02:00
Franck Nijhof
81f3c82aef
Add recorder platform to input_text ( #70227 )
2022-04-18 08:22:14 -07:00
Franck Nijhof
ec92c295d4
Add recorder platform to input_number ( #70226 )
2022-04-18 08:21:53 -07:00
Franck Nijhof
5d62f405f1
Add recorder platform to input_datetime ( #70225 )
2022-04-18 08:19:55 -07:00
Franck Nijhof
fc4e9b0cc3
Add recorder platform to input_button ( #70224 )
2022-04-18 08:18:46 -07:00
Dave T
d69a7e7be9
Hide credentials from generated titles in generic camera ( #70204 )
2022-04-18 07:57:52 -07:00
Greg Dowling
23264c8fd4
Improve roon integraton ( #66000 )
...
* Update to new library, revise discovery to work with new library, specify port to work with new library.
* Move user gui to fallback.
* Revise tests.
* Handle old config.
* Improve debugging, refresh faster on load.
* Remove duplicate.
* Bump library version.
* Fix docstring per review.
* Review suggestion
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Review suggestion
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Add check for duplicate host.
* Add error message to strings.
* Tidy.
* Review changes.
* Remove default.
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-18 16:27:14 +02:00
J. Nick Koston
c3108b3899
Exclude attributes for automation and script domains ( #70168 )
2022-04-18 12:10:18 +02:00
Franck Nijhof
38a1ef45ed
Add recorder platform to input_boolean ( #70154 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-04-18 11:38:48 +02:00
J. Nick Koston
a9a5645255
Defer profiler imports until needed to reduce memory pressure ( #70202 )
2022-04-17 20:16:25 -10:00
jjlawren
c53aa50093
Rework Sonos discovery & availability ( #70066 )
2022-04-17 22:54:51 -07:00
J. Nick Koston
40eb1554d9
Only set attributes based on the configured type for min_max sensors ( #70142 )
2022-04-17 22:53:49 -07:00
Dave T
32f9aefb40
Auto set content type for stream-only in generic camera ( #70200 )
2022-04-17 22:28:25 -07:00
J. Nick Koston
42c448c422
Add the ability to process integration platforms on demand ( #70174 )
2022-04-17 00:23:00 -10:00
Robert Svensson
f0b1d35562
Address late review of deconz climate ( #70148 )
...
* Fix late comment
* Avoid unnecessary properties
* Add clip sensor test to increase coverage of climate
* Fix review_comment
2022-04-16 21:14:54 +02:00
J. Nick Koston
ad1241a116
Fix missing patching of homekit matchers in zeroconf tests ( #70141 )
2022-04-16 16:41:10 +02:00
Thomas Lovén
7cc799becf
Fix setup failure tests failing for the wrong reason ( #70144 )
2022-04-16 11:59:38 +02:00
Raman Gupta
7c875bf658
Correct tomorrowio weather units ( #70107 )
2022-04-15 23:20:54 +03:00
Paulus Schoutsen
5f6a970826
Bump pyevilgenius to 2.0.0 ( #70074 )
...
* Bump pyevilgenius to 2.0.0
* Fix tests
2022-04-15 20:54:20 +03:00
J. Nick Koston
03c91dad78
Fix missing title placeholders during unifiprotect reauth ( #70067 )
2022-04-15 07:31:50 -10:00
Joakim Sørensen
ae9315aa29
Limit Supervisor refresh updates ( #70075 )
2022-04-15 09:31:02 -07:00
J. Nick Koston
89807f0d2d
Reduce the number of queries needed to compile statistics ( #69731 )
...
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-04-15 09:13:29 -07:00
Álvaro Fernández Rojas
abea7d3245
airzone: implement turn on/off ( #70095 )
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2022-04-15 16:13:59 +03:00
Milan Meulemans
c932407560
Add SENZ OAuth2 integration ( #61233 )
2022-04-14 15:29:31 -07:00
J. Nick Koston
c85387290a
Increase recorder queue max backlog to 40k, improve message ( #70065 )
2022-04-14 11:45:07 -10:00
Álvaro Fernández Rojas
459d775ad5
Update aioairzone to v0.3.8 ( #70060 )
2022-04-14 10:59:14 -10:00
Robert Svensson
87551b7880
Improve typing of deCONZ climate platform ( #69882 )
...
* Improve typing of deCONZ climate platform
homeassistant/components/deconz/climate.py:153: error: Dict entry 0 has incompatible type "str": "bool"; expected "str": "str" [dict-item]
homeassistant/components/deconz/climate.py:154: error: Dict entry 1 has incompatible type "str": "bool"; expected "str": "str" [dict-item]
homeassistant/components/deconz/climate.py:176: error: Argument 1 to "get" of "Mapping" has incompatible type "Optional[Literal['off', 'low', 'medium', 'high', 'on', 'auto', 'smart']]"; expected "str" [arg-type]
homeassistant/components/deconz/climate.py:200: error: Argument 1 to "get" of "Mapping" has incompatible type "Optional[Literal['off', 'auto', 'cool', 'heat', 'emergency heating', 'precooling', 'fan only', 'dry', 'sleep']]"; expected "str" [arg-type]
homeassistant/components/deconz/climate.py:218: error: Argument 1 to "set_config" of "Thermostat" has incompatible type "**Dict[str, str]"; expected "Optional[int]" [arg-type]
homeassistant/components/deconz/climate.py:218: error: Argument 1 to "set_config" of "Thermostat" has incompatible type "**Dict[str, str]"; expected "Optional[bool]" [arg-type]
homeassistant/components/deconz/climate.py:218: error: Argument 1 to "set_config" of "Thermostat" has incompatible type "**Dict[str, str]"; expected "Optional[List[str]]" [arg-type]
homeassistant/components/deconz/climate.py:225: error: Argument 1 to "get" of "Mapping" has incompatible type "Optional[Literal['holiday', 'auto', 'manual', 'comfort', 'eco', 'boost', 'complex']]"; expected "str" [arg-type]
homeassistant/components/deconz/climate.py:244: error: Unused "type: ignore" comment
homeassistant/components/deconz/climate.py:250: error: Unused "type: ignore" comment
homeassistant/components/deconz/climate.py:253: error: Unused "type: ignore" comment
* Simplify populating supported_hvac_modes
Fix tests
2022-04-14 23:19:42 +03:00
Paulus Schoutsen
a5134d9ba2
Check supported features in media player reproduce state ( #70055 )
2022-04-14 12:44:41 -07:00
Raman Gupta
60ac53374b
Fix tomorrow.io units... again... ( #70029 )
2022-04-14 09:58:16 -07:00
J. Nick Koston
c73cf2cf50
Fix race during homekit controller pairing ( #69948 )
2022-04-14 09:57:36 -07:00
Allen Porter
36bb947cdf
Fix bug in google calendar offset calculation ( #70024 )
...
Move the offset reached computation outside of the update method so that it is
computed when state updates occur rather than when data refreshes happen (which
are throttled and happen at most every 15 minutes).
Issue #69892
2022-04-13 19:04:59 -07:00
Diogo Gomes
8e64ae8478
Add unique_id to utility_meter sensors ( #68596 )
...
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-04-13 23:58:15 +02:00
Shay Levy
d4d819679c
Add Shelly gen2 authentication support ( #69753 )
2022-04-14 00:30:03 +03:00
Maciej Bieniek
7edbe66b26
Add `diagnostics` platform for GIOS integration ( #69918 )
...
* Add diagnostics platform
* Fix fixture data
2022-04-14 00:12:56 +03:00
Michael Chisholm
37bf504828
Fix config_flow error for UPnP info with single service ( #69979 )
2022-04-13 10:53:04 -10:00
Maciej Bieniek
74e9c050af
Add `diagnostics` platform for Airly integration ( #69874 )
...
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2022-04-13 19:22:37 +02:00
Diogo Gomes
fa28ee1f14
Remove deprecated unit configuration option from integration integration ( #69157 )
2022-04-13 19:19:34 +02:00
Álvaro Fernández Rojas
c76b21e24e
Support specifying Airzone System ID ( #69751 )
2022-04-13 19:12:21 +02:00
Michael Chisholm
4e57b1b118
Fix config_flow error from dlna_dmr for UPnP discovery info containing a single service ( #69977 )
2022-04-13 19:04:03 +02:00
J. Nick Koston
ad5d7a845b
Fix HomeKit Controller device class for CO Sensors ( #69949 )
2022-04-13 07:50:56 +02:00
Paulus Schoutsen
f6a3598070
Guard against non http schemes ( #69938 )
2022-04-12 15:27:20 -07:00
Franck Nijhof
fb92fc6a8e
Trigger on not matching to/from states ( #69760 )
2022-04-12 14:18:23 -07:00
Steven Looman
0d6d8a17e3
Drop upnp options flow ( #69134 )
2022-04-12 14:10:54 -07:00
Erik Montnemery
ba07663e7d
Fix adjusting statistics in ft³ ( #69913 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-04-12 14:08:38 -07:00
Erik Montnemery
eb3458a3d2
Add MutexPool for recorder tests ( #69410 )
...
* Add MutexPool for recorder tests
* Fix get_schema_version
* Update test test_last_run_was_recently_clean
* Update test test_shutdown_before_startup_finishes
* Revert comments in test_write_lock_db
* Make the MutexPool lock a class variable
* Remove stale comment
* Move MutexPool
* Tweak debug prints
2022-04-12 07:41:46 -10:00
Erik Montnemery
1645ab25a6
Use quickplay when casting splash for mediaplayer.turn_on ( #69866 )
2022-04-12 10:06:25 -07:00
Erik Montnemery
80ff1ecb2a
Fix adjusting 5-minute statistics ( #69921 )
2022-04-12 18:10:17 +02:00
Franck Nijhof
d1f4b7a3d9
Fix climate HVAC device condition ( #69908 )
2022-04-12 15:31:59 +02:00
epenet
d8d1e98d4e
Fix unique id in SamsungTV config flow ( #69899 )
...
* Fix unique id in SamsungTV config flow
* coverage
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-04-11 23:37:05 -10:00
Joakim Sørensen
2ebbdf45f8
Handle add-on issues ( #69897 )
2022-04-12 11:00:55 +02:00
David F. Mulcahey
5f37f58673
Add diagnostics support for ZHA ( #69756 )
2022-04-11 22:35:29 -07:00
Franck Nijhof
c93c7e8eff
Replace Camera STREAM_ constants with StreamType enum ( #69871 )
2022-04-11 16:27:27 -07:00
Franck Nijhof
27bc5e1d74
Add ColorMode enum to light platform ( #69223 )
2022-04-11 18:18:29 +02:00
Marvin Wichmann
3d30a757bf
Update xknx to 0.20.2 ( #69853 )
2022-04-11 16:51:13 +02:00
Franck Nijhof
800bf926aa
Add attribute to zone indicating persons in zone ( #69767 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-04-10 23:36:40 -07:00
jjlawren
016f67b855
Retry on more Plex connection failures during startup ( #69822 )
2022-04-10 22:25:19 -07:00
Allen Porter
f99b6004ea
Cleanup calendar APIs and introduce a dataclass for representing events ( #68843 )
...
* Introduce data class to hold calendar event data
* Rename CalendarEventDevice to CalendarEntity
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Fix docstring on google calendar api conversion function.
* Update todoist to new calendar enttiy api, tested manually
* Add back old API for a legacy compatibility layer
* Add deprecation warning for old calendar APIs
* Fix deprecation warning
* Fix merge for missing summary #69520
* Add mypy typing for newly introduced classes
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-10 12:04:07 -07:00
Matthias Alphart
b3d1574a71
Refactor KNX config flow and validate user input ( #69698 )
...
* validate config flow user input
* test flow for invalid user input
* validate multicast address blocks
* Update homeassistant/components/knx/config_flow.py
Co-authored-by: Marvin Wichmann <me@marvin-wichmann.de>
Co-authored-by: Marvin Wichmann <me@marvin-wichmann.de>
2022-04-10 15:56:45 +02:00
Allen Porter
a063f55c82
Handle expired credentials in reauth in google calendar initialization ( #69772 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-09 23:01:48 -07:00
Christopher Bailey
ad29d89484
Fix unifiprotect for 2.0.0-beta2 of UniFi Protect ( #69762 )
2022-04-09 11:34:48 -10:00
Mike Fugate
836b051be9
Fix SleepIQ firmness number step and min values ( #69757 )
...
* fix sleepiq firmness number step and min values
* add asserts for min/max/step attributes
2022-04-09 22:46:58 +03:00
J. Nick Koston
fe6a4bfb1d
Remove EVENT_TIME_CHANGED and EVENT_TIMER_OUT_OF_SYNC ( #69643 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-09 09:05:54 -10:00
J. Nick Koston
689b347904
Increase tplink effects random seed allowed range to 1-600 ( #69725 )
...
* Increase tplink effects random seed allowed range to 1-600
Reported https://community.home-assistant.io/t/tp-link-integration-support-for-kl430-led-light-strip/190635/62?u=bdraco
* cover
2022-04-09 10:08:17 +03:00
Allen Porter
d76fb2d891
Remove unnecessary async from test fixtures ( #69722 )
2022-04-09 08:33:24 +02:00
Dave T
6d17f4ffff
Support webp still image format in generic camera ( #69718 )
2022-04-08 23:06:34 -07:00
epenet
071ef6c74f
Fix upnp subscription in SamsungTV ( #69652 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-04-08 23:05:00 -07:00
Dave T
6fd041b290
Don't test config on yaml import for generic camera ( #69714 )
2022-04-08 22:59:54 -07:00
Shay Levy
06e4c2f351
Fix Shelly gen2 cover unavailable when not calibrated ( #69671 )
2022-04-08 22:54:42 -07:00
Allen Porter
06d2aeec6b
Refresh google calendar tokens with invalid expiration times ( #69679 )
...
* Refresh google calendar tokens with invalid expiration times
* Update tests/components/google/conftest.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Remove unnecessary async methods in functions being touched already
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-08 20:27:58 -07:00
Marvin Wichmann
b5b514b62f
Full test coverage for KNX integration ( #69697 )
...
* Full test coverage for KNX integration
* Allow for 0 values, since we all live at those kind of areas in the world
* Remove unneeded method
* Add missing test for climate mode
* Cleanup test and remove fixture that was used only once
2022-04-09 00:33:50 +02:00
Allen Porter
d54cb49f32
Remove "XXX" from calendar tests and implement real test ( #69677 )
...
* Remove "XXX" from calendar tests and implement real test
Remove a placeholder that was accidentally commited in the
calendar tests, and replace with a real test.
* Remove stale comment
2022-04-08 18:46:51 +03:00
J. Nick Koston
72fffde77a
Fix spelling of periodic in recorder ( #69658 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-07 23:37:02 -10:00
Allen Porter
1cce0a5744
Fix bugs calendar oauth token date handling ( #69641 )
2022-04-07 21:53:30 -07:00
J. Nick Koston
66f0a3816a
Reduce memory pressure during database migration ( #69628 )
2022-04-07 18:29:31 -10:00
Matt Zimmerman
8c00fde27d
[powerwall] Skip backup reserve sensor if data is unavailable ( #69637 )
2022-04-07 20:34:00 -07:00
Erik Montnemery
949b0e1b65
Don't allow in-memory SQLite database ( #69616 )
2022-04-08 00:43:09 +02:00
puddly
fab1f29a29
Move new `zha_event` command parameters into a `params` key to ensure backwards compatibility ( #69631 )
2022-04-07 15:33:14 -07:00
Dave T
be8e28503c
Generic fix stream thumbnail ( #69378 )
2022-04-07 15:01:29 -07:00
Diogo Gomes
a3cfb6d4ae
Fix utility_meter reset service ( #69612 )
2022-04-07 23:55:34 +02:00
J. Nick Koston
6dc72ebf6c
Mark backgrounds optional for tplink random effects ( #69622 )
2022-04-07 23:19:17 +02:00
epenet
a61ac3ddc6
Add EntityFeature enum to Siren ( #69585 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-04-07 23:08:09 +02:00
Patrik Lindgren
74021d62da
Finalize deprecation of groups in Tradfri integration ( #69460 )
...
* Finalise cleanup of groups
* Fix tests
* Remove
* Revert change
2022-04-07 22:19:12 +02:00
Erik Montnemery
4a7c978f69
Speedup recorder test test_write_lock_db ( #69578 )
2022-04-07 15:36:58 +02:00
epenet
190ef4ee35
Use EntityFeature enum in components (s** 2/2) ( #69441 )
2022-04-07 15:06:34 +02:00
Erik Montnemery
e8852e0f30
Migrate lcn light to color_mode ( #69419 )
2022-04-07 14:49:12 +02:00
J. Nick Koston
47c3aef7a2
Fix registered entities without a category not being exclude-able in the HomeKit UI ( #69543 )
2022-04-07 13:46:41 +02:00
Joakim Sørensen
a5dc95e715
Fix adding OS entities for supervised installations ( #69539 )
2022-04-07 13:34:20 +02:00