mirror of
https://github.com/home-assistant/core.git
synced 2026-02-05 23:05:25 +01:00
Adjust
This commit is contained in:
@@ -195,9 +195,9 @@ class TasmotaLight(
|
||||
return self._brightness
|
||||
|
||||
@property
|
||||
def color_mode(self) -> ColorMode | None:
|
||||
def color_mode(self) -> ColorMode:
|
||||
"""Return the color mode of the light."""
|
||||
return self._color_mode
|
||||
return self._color_mode # type: ignore[return-value]
|
||||
|
||||
@property
|
||||
def color_temp_kelvin(self) -> int | None:
|
||||
|
||||
Reference in New Issue
Block a user