Commit Graph

188 Commits (f1b7847d1c1a6c72df564f2379a6332b93a75b06)

Author SHA1 Message Date
Stefan Agner f1029596d2
Drop Matter Microwave Oven Mode select entity (#123294) 2024-08-07 16:45:46 +02:00
musapinar a6dfa6d4e0
Add Matter Leedarson RGBTW Bulb to the transition blocklist (#123182) 2024-08-05 14:21:01 +02:00
Calvin Walton b45fe0ec73
Add Govee H612B to the Matter transition blocklist (#123163) 2024-08-05 10:02:15 +02:00
Marcel van der Veldt 8a4206da99
Matter handle FeatureMap update (#122544) 2024-07-31 20:37:57 +02:00
Marcel van der Veldt 0189a05297
Extend Matter select entity (#122513) 2024-07-31 20:36:43 +02:00
Marcel van der Veldt c888908cc8
Add default warning for installing matter device updates (#122597) 2024-07-31 18:23:40 +02:00
Marcel van der Veldt 85aca4f095
Fix default turn_on without explicit preset or percentage in Matter Fan platform (#122591) 2024-07-29 12:03:40 +02:00
Marcel van der Veldt d7c713d18d
Fix typo in Matter lock platform (#122536) 2024-07-24 20:12:51 +02:00
Marcel van der Veldt 4876e35fd8
Matter event follow up (#122553) 2024-07-24 20:12:20 +02:00
Stefan Agner 07b2a7537b
Add Matter update entities for devices with OTA requestor (#120304)
* Add Matter update entities for devices with OTA requestor

Matter devices which support the OTA requestor cluster can receive
updates from a OTA provider. The Home Assistant Python Matter Server
implements such an OTA provider now.

Add update entities for devices which support the OTA requestor cluster
and check for available updates. Allow the user to update the firmware.
The update progress will be read directly from the devices' OTA
requestor cluster.

* Update homeassistant/components/matter/update.py

Co-authored-by: TheJulianJES <TheJulianJES@users.noreply.github.com>

* Bump python-matter-server to 6.3.0

This includes models and commands required for device firmware updates.

* Fix tests by including the new bluetooth_enabled field

* Add update entity tests

* Fix update entity test

* Update entity picture docstring

* Add note about reasons for progress state change update

* Enable polling for update entities by default

Matter entities don't enable polling any longer. Enable polling for
update entities by default.

* Add comment about why Update entities are polled

---------

Co-authored-by: TheJulianJES <TheJulianJES@users.noreply.github.com>
2024-07-23 15:25:02 +02:00
Stefan Agner 73ea62edd4
Disable polling for Matter entities by default (#122452)
Matter entities don't implement async_update, they get their update
from the Matter subscriptions through the WebSocket from the Matter
Server. This change disables polling for all Matter Entities by
default.
2024-07-23 13:43:12 +02:00
Marcel van der Veldt 632dec614a
Fix several issues with the Matter Generic Switch Cluster (#122191) 2024-07-23 10:10:32 +02:00
G Johansson ca4c617d4b
Add TURN_OFF/TURN_ON feature flags for fan (#121447) 2024-07-19 11:35:24 +02:00
Marcel van der Veldt 3d3bc1cab1
Revert "Add mac address as connection for matter device (#121257)" (#122133) 2024-07-18 17:38:30 +02:00
Stefan Agner 0aea9b0edb
Read color temperature range from Matter device if supported (#122054) 2024-07-17 01:25:28 +02:00
Stefan Agner d0c1632976
Drop spurious log messages in Matter bridge device removal (#122036)
Don't log a message when a device is removed from the Matter bridge.
2024-07-16 23:55:33 +02:00
Stefan Agner 234870538d
Prevent removal of complete bridge when removing a device from Matter (#121987)
* Prevent removal of complete bridge when removing a device from Matter

Currently, when a device is removed from Matter, the complete bridge is
being removed. This might not be the user intention. Bridged devices
themselves can't be deleted really, as they are still part of the
bridge.

Ideally, this should be fixed in the UI (remove the Delete button in
this case). But as a workaround, we can prevent the removal of the
complete bridge by disallowing to remove the bridged device itself.

This also improves deleting when the bridge is already removed from
the Server through some other means: In this case, we delete all devices
at once.

* Update homeassistant/components/matter/__init__.py

---------

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2024-07-16 10:19:55 +02:00
Björn Ebbinghaus 2723ab3b27
Add mac address as connection for matter device (#121257) 2024-07-16 00:54:16 +02:00
Marcel van der Veldt 42003ae5ac
Matter lock state follow-up (#121669) 2024-07-10 11:20:26 +02:00
Marcel van der Veldt 6702d232e2
Fix state for Matter Locks (including optional door sensor) (#121665) 2024-07-10 10:32:42 +02:00
Marcel van der Veldt 1c1e1a7bfa
Listen for attribute changes of OnOff cluster in appliances (#121198) 2024-07-05 09:41:57 +02:00
Marcel van der Veldt 98dfb47448
Fix Matter light discovery schema for DimmerSwitch (#121185) 2024-07-05 09:41:41 +02:00
Marcel van der Veldt df1b02d44e
Use Generator from abc instead of typing_extensions in Matter discovery (#121236)
Use Generator from abc instead of typing_extensions
2024-07-04 20:06:23 +02:00
jvmahon d5135d4956
Add support for the Select platform in Matter (#119769)
* Add support for ModeSelect Cluster

* Update discovery.py

* Add files via upload

* refactor part 1

* Update discovery.py

* add remaining mode discovery schemas

* add test

* type alias

---------

Co-authored-by: Marcel van der Veldt <m.vanderveldt@outlook.com>
2024-07-04 18:29:10 +02:00
Marcel van der Veldt 24f6e6e885
Fix locking/unlocking transition state in Matter lock platform (#121099) 2024-07-04 09:20:55 +02:00
Marcel van der Veldt 7a9792c111
Matter fix Energy sensor discovery schemas (#121080) 2024-07-03 17:16:51 +02:00
Marcel van der Veldt 355c7399d7
Bump python-matter-server to 6.2.2 (#121072) 2024-07-03 16:27:45 +02:00
Marcel van der Veldt 0d0ca22103
Fix setting target temperature for single setpoint Matter thermostat (#121011) 2024-07-02 21:03:01 +02:00
Marcel van der Veldt 52627b9aed
Handle mains power for Matter appliances (#121023) 2024-07-02 21:02:29 +02:00
Marcel van der Veldt 8a23e37837
Mark dry/fan-only climate modes as supported for Panasonic room air conditioner (#120939) 2024-07-01 17:30:23 +02:00
Marc Mueller ca55986057
Import Generator from collections.abc (1) (#120914) 2024-07-01 11:51:51 +02:00
Stefan Agner 44aad2b821
Improve Matter Server version incompatibility handling (#120416)
* Improve Matter Server version incompatibility handling

Improve the handling of Matter Server version. Noteably fix the issues
raised (add strings for the issue) and split the version check into
two cases: One if the server is too old and one if the server is too
new.

* Bump Python Matter Server library to 6.2.0b1

* Address review feedback
2024-06-26 11:43:51 +02:00
Grubalex b7e7905b54
Add Philips WiZ Lightbulbs to Matter TRANSITION_BLOCKLIST (#120461) 2024-06-26 08:51:55 +02:00
Ludovic BOUÉ 2ad5b1c3a6
Add Matter discovery schemas for BooleanState sensors (#117870)
Co-authored-by: Stefan Agner <stefan@agner.ch>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Marcel van der Veldt <m.vanderveldt@outlook.com>
2024-06-21 18:57:18 +02:00
Marcel van der Veldt 4110f4f393
Fix Matter entity names (#120038) 2024-06-21 16:42:22 +02:00
jvmahon 12f812d6da
Add number platform to Matter integration (#119770)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Marcel van der Veldt <m.vanderveldt@outlook.com>
2024-06-21 15:53:50 +02:00
jvmahon 71a9ba25dc
Use "Button" label to name Matter event (#119768) 2024-06-17 15:30:59 +02:00
dubstomp 0ae4903686
Add Kasa Dimmer to Matter TRANSITION_BLOCKLIST (#119751) 2024-06-17 11:31:18 +02:00
Paul Bottein 7a3a57c78e
Add open state support to matter lock (#119682) 2024-06-15 11:24:33 +02:00
Marc Mueller fe21e2b8ba
Import Generator from typing_extensions (1) (#118986) 2024-06-06 17:02:13 +02:00
Stefan Agner e2f45bfbdc
Bump Python Matter Server library to 6.1.0 (#118806) 2024-06-04 18:23:22 +02:00
Marcel van der Veldt a95c074ab8
Extend Matter sensor discovery schemas for Air Purifier / Air Quality devices (#118483)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2024-05-30 16:59:45 +02:00
Marcel van der Veldt 2ca4077608
Mark Matter climate dry/fan mode support on Panasonic AC (#118485) 2024-05-30 16:39:04 +02:00
Alexey Guseynov fc5d58effd
Add Total Volatile Organic Compounds (tVOC) matter discovery schema (#116963) 2024-05-30 12:20:02 +02:00
Marcel van der Veldt a0443ac328
Add translation strings for Matter Fan presets (#118401) 2024-05-29 21:12:47 +02:00
Marcel van der Veldt 8cc15e82df
Fix light discovery for Matter dimmable plugin unit (#118404) 2024-05-29 21:09:50 +02:00
Marcel van der Veldt 7136be5047
Bump Python Matter Server library to 6.1.0(b0) (#118388) 2024-05-29 19:20:18 +02:00
Marcel van der Veldt 5f5288d8b9
Several fixes for the Matter climate platform (#118322)
* extend hvacmode mapping with extra modes

* Fix climate platform

* adjust tests

* fix reversed test

* cleanup

* dry and fan hvac mode test
2024-05-28 21:18:35 -04:00
Marcel van der Veldt 21f5ac7715
Fix Matter device ID for non-bridged composed device (#118256) 2024-05-28 12:47:46 +02:00
Ludovic BOUÉ f44dfe8fef
Add Matter fan platform (#111212)
Co-authored-by: Marcel van der Veldt <m.vanderveldt@outlook.com>
2024-05-28 12:24:58 +02:00