mirror of
https://github.com/esphome/esphome.git
synced 2024-09-27 04:03:30 +02:00
WIP
This commit is contained in:
parent
bb5d19da51
commit
5b5522ce72
@ -2,7 +2,7 @@ import esphome.codegen as cg
|
||||
from esphome.components import switch
|
||||
import esphome.config_validation as cv
|
||||
from esphome.const import (
|
||||
DEVICE_CLASS_SWITCH,
|
||||
ENTITY_CATEGORY_CONFIG,
|
||||
ICON_ARROW_EXPAND_VERTICAL,
|
||||
)
|
||||
from .. import CONF_FYRTUR_MOTOR_ID, FyrturMotorComponent, fyrtur_motor_ns
|
||||
@ -15,7 +15,7 @@ CONFIG_SCHEMA = {
|
||||
cv.GenerateID(CONF_FYRTUR_MOTOR_ID): cv.use_id(FyrturMotorComponent),
|
||||
cv.Required(CONF_OPEN_CLOSE): switch.switch_schema(
|
||||
OpenCloseSwitch,
|
||||
device_class=DEVICE_CLASS_SWITCH,
|
||||
entity_category=ENTITY_CATEGORY_CONFIG,
|
||||
icon=ICON_ARROW_EXPAND_VERTICAL,
|
||||
),
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user