mirror of
https://github.com/esphome/esphome.git
synced 2025-01-10 06:33:19 +01:00
done some CI fixes
This commit is contained in:
parent
74be31f9f9
commit
96a327dea2
1 changed files with 9 additions and 12 deletions
|
@ -115,21 +115,18 @@ DisplayReverseAction = max7219_ns.class_("DisplayReverseAction", automation.Acti
|
|||
DisplayIntensityAction = max7219_ns.class_("DisplayIntensityAction", automation.Action)
|
||||
|
||||
|
||||
MAX7219_OFF_ACTION_SCHEMA = cv.Schema(
|
||||
automation.maybe_simple_id(
|
||||
{
|
||||
cv.Required(CONF_ID): cv.use_id(MAX7219Component),
|
||||
cv.Optional(CONF_STATE, default=False): False,
|
||||
}
|
||||
)
|
||||
MAX7219_OFF_ACTION_SCHEMA = automation.maybe_simple_id(
|
||||
{
|
||||
cv.Required(CONF_ID): cv.use_id(MAX7219Component),
|
||||
cv.Optional(CONF_STATE, default=False): False,
|
||||
}
|
||||
)
|
||||
|
||||
MAX7219_ON_ACTION_SCHEMA = automation.maybe_simple_id(
|
||||
MAX7219_OFF_ACTION_SCHEMA.extend(
|
||||
{
|
||||
cv.Optional(CONF_STATE, default=True): True,
|
||||
}
|
||||
)
|
||||
{
|
||||
cv.Required(CONF_ID): cv.use_id(MAX7219Component),
|
||||
cv.Optional(CONF_STATE, default=True): True,
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue