epenet
6057aeee2f
Prevent NumberEntity and RestoreEntity inheritance ( #93467 )
2023-05-24 20:59:14 +02:00
Luke
8dd9482bb5
Add Roborock Consumable sensors ( #91972 )
...
* add sensors to roborock
* add value_fn typing
* fixed strings
* Update homeassistant/components/roborock/sensor.py
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
* change to work time instead of time left
* added time left back
* fixed tests
* made diagnostic
---------
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-05-24 20:31:02 +02:00
J. Nick Koston
08c8c22fac
Fix non threadsafe call in xiaomi_aqara again ( #93461 )
...
Fix non threadsafe call in xiaomi_aqara
The original fix in #93405 was ineffective and only moved the problem
fixes #93400
2023-05-24 18:21:44 +02:00
Martin Malina
d2d21b4158
Show current day in met weather forecast ( #91891 )
...
Version 0.10.0 of pyMetno added the option
to defined range_start when calling get_forecast:
https://github.com/Danielhiversen/pyMetno/pull/35/files
So let's use that to include today in the forecast.
2023-05-24 16:07:59 +02:00
Vova-SH
f8fdeeabc2
Add resize_keyboard and one_time_keyboard attributes to telegram bot service ( #91613 )
...
* Add new params for telegram bot
Add resize_keyboard and one_time_keyboard attributes
* Apply review changes
* Update homeassistant/components/telegram_bot/__init__.py
* Update __init__.py
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-05-24 16:07:22 +02:00
starkillerOG
16780bf4c2
Prevent firmware update error when internet blocked for Reolink camera ( #91738 )
...
* Prevent firmware update error when internet blocked
* fix styling
* switch back to async_config_entry_first_refresh
* fix still raising when starting
* missing return
* Catch CancelledError
2023-05-24 15:16:35 +02:00
MarkGodwin
e97b331942
Add gateway WAN/LAN port connectivity entities to TP-Link Omada ( #91905 )
...
* Add gateway WAN/LAN port status entities
* Fix copy pasta comments
* Add omada binary_sensor to coveragerc
2023-05-24 15:12:51 +02:00
Raman Gupta
872cd47e87
Add proper support for zwave_js Indicator CC ( #90248 )
...
* Add proper support for zwave_js Indicator CC
* remove stale test
* Make all indicators diagnostic
* only set entity category if it is specified
* Only set properties from discovery if specified
* Conditionally set assumed state as well
* fix const name
* Don't create task
* Disable property keys 3-5 by default
* add additional dispatcher_connects so we catch all signals
* be consistent about order
* rename new discovery parameter
* comment
* exclude property keys 3-5
* fix remove logic
* add comment so I don't forget
* Switch entity category to config where necessary
* cut line
* less lines
* Update homeassistant/components/zwave_js/switch.py
Co-authored-by: kpine <keith.pine@gmail.com>
* Move async_remove to respond to interview started event
* Set up listener immediately so we don't wait for platform creation
* remove dupe import
* black
* append
---------
Co-authored-by: kpine <keith.pine@gmail.com>
2023-05-24 09:09:38 -04:00
Raman Gupta
66f7218b68
Do optimistic state update for Z-Wave multilevel switch entities ( #90490 )
...
* Do optimistic state update for Z-Wave multilevel switch entities
* simplify
* define constant for setting value to previous value
* Rework to only consider value of 255 and only places where we know that the previous state is known by the integration due to the service being called
* missed commit
* better code
* Add tests and use constant from lib
* fix logic
* fix bug
* Add comments with more details
2023-05-24 09:04:11 -04:00
Raman Gupta
3e93dd6a01
Update name for Notification CC sensors and buttons ( #93019 )
...
* Update name for Notification CC sensors and buttons
* Add comment with reference to names
2023-05-24 09:00:37 -04:00
rappenze
83f206a6fe
Code cleanup: Separate fibaro scene logic ( #91895 )
...
* Code cleanup fibaro scene
* Remove duplicated code
* Fixes
2023-05-24 14:57:35 +02:00
rappenze
11accd8ba7
Set available state in fibaro integration ( #91893 )
2023-05-24 14:54:10 +02:00
Aaron Godfrey
89f1677307
Fix todoist state updates ( #91915 )
...
* Update event when coordinator updates data.
* Move function to make diff easier to view
* Actually make it easier to view
* Move all tasks calculation to extra_state_attributes.
2023-05-24 14:46:13 +02:00
ad0p
ef24e508f8
Bump pydeconz to v112 ( #91924 )
...
* Bump pydeconz to v112
* PR review - add suggested_display_precision
* Test - fix
* Bump pydeconz to v112
* PR review - add suggested_display_precision
* Fix tests
---------
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2023-05-24 14:43:02 +02:00
Jeff Grieger
7e165021a3
Fix directv attribute media_position_updated_at ( #92383 )
...
* Fix directv attribute media_position_updated_at
Fix to update media_position_updated_at attribute when media_position attribute is updated.
* Do not update media_position_updated_at when paused
2023-05-24 14:22:56 +02:00
David Knowles
ace45f31ff
Add a DataUpdateCoordinator to Hydrawise ( #93223 )
...
* Add a DataUpdateCoordinator to Hydrawise
* Replace DATA_HYDRAWISE with DOMAIN
* Replace persistent notification with a ConfigEntryNotReady exception
* Changes requested during PR review
* Add a type annotation to the `monitored_conditions` field.
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
---------
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-05-24 14:07:37 +02:00
Colin Robbins
f355f0cc6d
Add UDP listener in Lightwave ( #85385 )
2023-05-24 13:44:12 +02:00
epenet
c475273145
Prevent SensorEntity and RestoreEntity inheritance ( #88971 )
2023-05-24 12:49:35 +02:00
Joost Lekkerkerker
db33aadcbb
Implement OpenSky library ( #92814 )
...
* Implement OpenSky library
* Move function to library
* Fix feedback
2023-05-24 12:48:55 +02:00
Tom Schneider
0ca0ed3a31
Bump pygti and change the request for the new api version ( #92283 )
...
Bump pygti and change request for the new api version
2023-05-24 12:43:36 +02:00
Mike Heath
2a7ba60574
Fully Kiosk: Truncate long URLs ( #92347 )
...
* Truncate long URLs
URL's longer than 256 characters will result in a
`homeassistant.exceptions.InvalidStateError`. This fixes that problem
and adds 2 extra_state_attributes: `full_url`, and `truncated`.
Fixes #89249
* Refactor to use function ref in entity description
2023-05-24 12:32:26 +02:00
Erik Montnemery
937ebb374c
Enable strict type checks of cloud ( #92576 )
...
* Enable strict type checks of cloud
* Fix circular import
* Address review comments
* Apply suggestions from code review
2023-05-24 11:46:11 +02:00
Franck Nijhof
a8ce4d3c66
Remove legacy translations from electrasmart ( #93446 )
2023-05-24 11:42:49 +02:00
Álvaro Fernández Rojas
746a47f094
Update aioairzone-cloud to v0.1.3 ( #93443 )
2023-05-24 11:37:41 +02:00
Mike Degatano
08a719e09e
Add backup location and mount failed repair ( #93126 )
...
* Add backup location and mount failed repair
* Fix coverage
* Change storage_location to backup_location
* Use backticks
* Update homeassistant/helpers/selector.py
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-05-24 10:33:41 +02:00
Raman Gupta
9b53484e2e
Remove unused zwave discovery logic ( #93436 )
2023-05-24 10:02:50 +02:00
Jafar Atili
7bc9e1ae9f
Bump PySwitchbee to 1.8.0 ( #92348 )
...
* fix
* fixes
* bump pyswitchbee
* bump pyswitchbee
* bump pyswitchbee
* fix
* bump pyswitchbee
* Apply suggestions from code review
---------
Co-authored-by: Jafar Atili <jafar.atili@axonius.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-05-24 09:44:36 +02:00
Mike Degatano
2906caf4d1
Fix reference string in data disk repair ( #93220 )
...
* Fix reference string in data disk repair
* Use backticks
2023-05-24 09:42:30 +02:00
epenet
dc14b83249
Add ability to unload demo integration ( #92515 )
...
* Add unload to demo integration
* Adjust config tests to use kitchen_sink
* Use async_unload_platforms
2023-05-24 09:38:29 +02:00
Joost Lekkerkerker
326d80f4f7
Move Twitch constants to separate file ( #92605 )
...
* Move Twitch constants to separate file
* Move Twitch constants to separate file
* Move Twitch constants to separate file
* Update branch
2023-05-24 09:18:20 +02:00
Guido Schmitz
9363fa6561
Update quality scale of devolo Home Control ( #92646 )
...
Update quality scale
2023-05-24 09:16:41 +02:00
ollo69
62ccecb690
Change utility_meter log level for invalid old state ( #93026 )
2023-05-24 09:10:51 +02:00
jjlawren
abf08f66a4
Bump `sonos-websocket` to 0.1.2 ( #93429 )
...
Bump sonos-websocket to 0.1.2
2023-05-24 08:38:16 +02:00
Jesse Hills
bb39b99a3f
ESPHome fix changing light color_mode ( #93434 )
2023-05-24 08:37:42 +02:00
uvjustin
67515f8ac3
Bump ha-av to v10.1.0 ( #93420 )
2023-05-24 08:28:04 +02:00
Chris Talkington
5bdc830664
Bump rokuecp to 0.18.0 ( #93424 )
2023-05-24 08:27:20 +02:00
Ludy
3c7e6bf3cc
Add missing constants `trigger_type`and `condition_type` ( #93415 )
...
* Add missing `trigger_type`and ´condition_type`
* auto generate `TURNED_ON` and `TURNED_OFF`
2023-05-24 08:22:52 +02:00
Álvaro Fernández Rojas
a29adc0a6a
Airzone select improvements ( #92894 )
...
* airzone: select: remove unneed .keys()
Fixes late comment when select platform was introduced.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* airzone: select: make options translatable
This was a late comment when the select platform was introduced.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* airzone: select: change options to lists (from enums)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* tests: airzone: fix python 3.10 tests
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* airzone: select: add manual dict values
This was requested in order to keep control of the translation strings.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* Revert "airzone: select: add manual dict values"
This reverts commit b818a2674d
.
* Revert "tests: airzone: fix python 3.10 tests"
This reverts commit 93f8bd1430
.
* Revert "airzone: select: change options to lists (from enums)"
This reverts commit e503a1dd3a
.
* airzone: select: options: copy dict to list
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* airzone: select: use degree symbol
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
---------
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2023-05-24 08:21:24 +02:00
luar123
869f970e59
Fix Snapcast connection issues ( #93010 )
...
* Add (dis)connect and update listeners, terminate connection and reconnect. Set availability
* Pass entry_id to constructor
2023-05-24 08:16:09 +02:00
Tom
a43dcaf812
Plugwise add value_fn for select ( #93375 )
...
* Plugwise prepare value_fn for select
* Plugwise prepare value_fn for select
* Try proposed options
* Fix initial defs
---------
Co-authored-by: Bouwe Westerdijk <11290930+bouwew@users.noreply.github.com>
2023-05-24 07:56:17 +02:00
J. Nick Koston
d8493a41aa
Add Yale Home virtual integration ( #93364 )
...
* Add Yale Home virtual integration
Yale split all their customers outside of North America off into
a new brand recently
https://www.yalehome.com/in/en/news/news/introducing-the-new-yale-home-app#:~:text=The%20Yale%20Home%20app,products%20and%20new%20products%20alike .
* init
* brands
2023-05-24 07:21:49 +02:00
J. Nick Koston
f09abb0f2e
Fix race in tracking pending writes in recorder ( #93414 )
2023-05-23 21:47:31 +02:00
Brett Adams
f6e7b727b0
Add Fan and Dry HVAC modes to Advantage Air MyTemp preset ( #93189 )
2023-05-23 21:32:47 +02:00
Marcel van der Veldt
56d2048ffa
Bump Matter server library to 3.4.1 and address changes ( #93411 )
...
* bump python matter server to 3.4.1
* address renamed attribute names in sdk 1.1
* ignore AllClustersAppServerExample
* clusters.ColorControl.Bitmaps.ColorCapabilities
* address discovery schemas
* fix all fixtures due to attribute rename
* bump python matter server to 3.4.1
* address renamed attribute names in sdk 1.1
* ignore AllClustersAppServerExample
* clusters.ColorControl.Bitmaps.ColorCapabilities
* address discovery schemas
* fix all fixtures due to attribute rename
* lint
* update requirements_all
2023-05-23 20:42:09 +02:00
andarotajo
fa366e59e0
Improve dwd_weather_warnings code quality ( #92738 )
...
Improve code quality by removing unnecessary data
2023-05-23 19:34:47 +02:00
Álvaro Fernández Rojas
8edb253ace
Add Airzone Cloud integration ( #93238 )
...
* airzone-cloud: add new integration
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* Add missing aioairzone-cloud to test requirements
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* Update aioairzone-cloud to v0.0.4
Allows to handle TooManyRequests exception on coordinator.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* aioairzone_cloud: reduce API requests
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* airzone_cloud: remove system_zone_id
As opposed to the Local API of Airzone devices, the Cloud API provides unique
IDs for both systems and zones, so we can remove the system_zone_id copied from
the Local API integration.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* airzone_cloud: minor improvements
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* tests: airzone_cloud: simplify mock_get_webserver
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* Update aioairzone to v0.0.5
- Add token refresh and relogin support.
- Improve fetching installation devices.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* airzone_cloud: add to strict typing
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* Update aioairzone to v0.0.7
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* trigger CI
* airzone_cloud: remove unneeded api_get_user call
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* Add Airzone brand
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* Update aioairzone to v0.1.1
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* airzone_cloud: use unique_id instead of entry_id
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* airzone_cloud: remove special handling of TooManyRequests
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* airzone_cloud: bump coordinator timeout to 30s
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* airzone_cloud: make AirzoneEntity an ABC
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* airzone_cloud: fix strings typo
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* tests: airzone_cloud: simplify webserver mock
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* Update aioairzone-cloud to v0.1.2
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
---------
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2023-05-23 19:22:50 +02:00
Michael Mraka
8bf22014ce
Update solax state class for sensors with no units ( #92914 )
...
Update sensor.py
Units.NONE is used for text entities which are not measurements.
Marking them so breaks their history.
2023-05-23 19:20:04 +02:00
Álvaro Fernández Rojas
942089d590
Add QNAP QSW firmware update support ( #92869 )
...
* qnap_qsw: add firmware update support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* tests: qnap_qsw: remove backup leftovers
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* tests: qnap_qsw: remove backup leftovers v2
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
---------
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2023-05-23 19:10:33 +02:00
chiefdragon
9672db0354
Add new preset to Tado to enable geofencing mode ( #92877 )
...
* Add new preset to Tado to enable geofencing mode
Add new 'auto' preset mode to enable Tado to be set to auto geofencing
mode. The existing ‘home’ and ‘away’ presets switched Tado into manual
geofencing mode and there was no way to restore it to auto mode.
Note 1: Since preset modes (home, away and auto) apply to the Tado home
holistically, irrespective of the Tado climate entity used to select
the preset, three new sensors have been added to display the state of
the Tado home
Note 2: Auto mode is only supported if the Auto Assist skill is enabled
in the owner's Tado home. Various checks have been added to ensure the
Tado supports auto geofencing and if it is not supported, the preset is
not listed in the preset modes available
* Update codeowners in manifest.json
* Update main codeowners file for Tado component
2023-05-23 19:08:00 +02:00
J. Nick Koston
761943e1e6
Fix non threadsafe call xiaomi_aqara ( #93405 )
2023-05-23 18:56:27 +02:00