Fix individual LED range for ZHA device action (#81351)

The inovelli individual LED effect device action can address 7 LEDs. I had set the range 1-7 but it should be 0-6.
pull/81423/head
David F. Mulcahey 2022-11-01 09:06:55 -04:00 committed by Paulus Schoutsen
parent f265c160d1
commit d0ddbb5f58
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ DEVICE_ACTION_SCHEMAS = {
),
INOVELLI_INDIVIDUAL_LED_EFFECT: vol.Schema(
{
vol.Required("led_number"): vol.All(vol.Coerce(int), vol.Range(1, 7)),
vol.Required("led_number"): vol.All(vol.Coerce(int), vol.Range(0, 6)),
vol.Required("effect_type"): vol.In(
InovelliConfigEntityChannel.LEDEffectType.__members__.keys()
),