mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Fix reading of max mireds from Matter lights (#132710)
This commit is contained in:
parent
bd0da03eb9
commit
72de5d0fa3
@ -372,7 +372,7 @@ class MatterLight(MatterEntity, LightEntity):
|
||||
max_mireds = self.get_matter_attribute_value(
|
||||
clusters.ColorControl.Attributes.ColorTempPhysicalMaxMireds
|
||||
)
|
||||
if min_mireds > 0:
|
||||
if max_mireds > 0:
|
||||
self._attr_max_mireds = max_mireds
|
||||
|
||||
supported_color_modes = filter_supported_color_modes(supported_color_modes)
|
||||
|
@ -647,7 +647,7 @@
|
||||
"1/768/16390": 0,
|
||||
"1/768/16394": 31,
|
||||
"1/768/16395": 0,
|
||||
"1/768/16396": 65279,
|
||||
"1/768/16396": 0,
|
||||
"1/768/16397": 0,
|
||||
"1/768/16400": 0,
|
||||
"1/768/65532": 31,
|
||||
|
@ -460,7 +460,7 @@
|
||||
"1/768/16390": 0,
|
||||
"1/768/16394": 31,
|
||||
"1/768/16395": 0,
|
||||
"1/768/16396": 65279,
|
||||
"1/768/16396": 0,
|
||||
"1/768/16397": 0,
|
||||
"1/768/16400": 0,
|
||||
"1/768/65532": 31,
|
||||
|
@ -444,7 +444,7 @@
|
||||
"1/768/16390": 0,
|
||||
"1/768/16394": 31,
|
||||
"1/768/16395": 0,
|
||||
"1/768/16396": 65279,
|
||||
"1/768/16396": 0,
|
||||
"1/768/16397": 0,
|
||||
"1/768/16400": 0,
|
||||
"1/768/65532": 31,
|
||||
|
@ -1620,7 +1620,7 @@
|
||||
"6/768/16385": 0,
|
||||
"6/768/16394": 25,
|
||||
"6/768/16395": 0,
|
||||
"6/768/16396": 65279,
|
||||
"6/768/16396": 0,
|
||||
"6/768/16397": 0,
|
||||
"6/768/16400": 0,
|
||||
"6/768/65532": 25,
|
||||
|
@ -384,7 +384,7 @@
|
||||
"1/768/16390": 0,
|
||||
"1/768/16394": 31,
|
||||
"1/768/16395": 0,
|
||||
"1/768/16396": 65279,
|
||||
"1/768/16396": 0,
|
||||
"1/768/16397": 0,
|
||||
"1/768/16400": 0,
|
||||
"1/768/65532": 31,
|
||||
|
@ -384,7 +384,7 @@
|
||||
"1/768/16390": 0,
|
||||
"1/768/16394": 31,
|
||||
"1/768/16395": 0,
|
||||
"1/768/16396": 65279,
|
||||
"1/768/16396": 0,
|
||||
"1/768/16397": 0,
|
||||
"1/768/16400": 0,
|
||||
"1/768/65532": 31,
|
||||
|
Loading…
x
Reference in New Issue
Block a user