Add brightness_step to light.turn_on (#31452)
* Clean up light turn on service * Add brightness_step to turn_on schema * Fix import * Fix imports 2 * Fix RFLink test
This commit is contained in:
parent
e970177eeb
commit
c85a7934ed
7 changed files with 115 additions and 73 deletions
|
@ -1,6 +1,7 @@
|
|||
"""Intents for the light integration."""
|
||||
import voluptuous as vol
|
||||
|
||||
from homeassistant.const import ATTR_ENTITY_ID
|
||||
from homeassistant.core import HomeAssistant
|
||||
from homeassistant.helpers import intent
|
||||
import homeassistant.helpers.config_validation as cv
|
||||
|
@ -8,7 +9,6 @@ import homeassistant.util.color as color_util
|
|||
|
||||
from . import (
|
||||
ATTR_BRIGHTNESS_PCT,
|
||||
ATTR_ENTITY_ID,
|
||||
ATTR_RGB_COLOR,
|
||||
DOMAIN,
|
||||
SERVICE_TURN_ON,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue