Skip to content

Commit 82b9fea

Browse files
authored
Add support for controlling LED brightness on HomeWizard Plug-In Battery and P1 Meter (home-assistant#151186)
1 parent a879e36 commit 82b9fea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

homeassistant/components/homewizard/number.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ async def async_setup_entry(
2020
async_add_entities: AddConfigEntryEntitiesCallback,
2121
) -> None:
2222
"""Set up numbers for device."""
23-
if entry.runtime_data.data.device.supports_state():
23+
if entry.runtime_data.data.device.supports_led_brightness():
2424
async_add_entities([HWEnergyNumberEntity(entry.runtime_data)])
2525

2626

0 commit comments

Comments
 (0)