mirror of
https://github.com/esphome/esphome.git
synced 2025-01-09 22:31:46 +01:00
Update esphome/components/max7219digit/display.py
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
parent
da3ee436b1
commit
b9313aa303
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ MAX7219_ON_ACTION_SCHEMA = automation.maybe_simple_id(
|
||||||
"MAX7219.invert_off", DisplayInvertAction, MAX7219_OFF_ACTION_SCHEMA
|
"MAX7219.invert_off", DisplayInvertAction, MAX7219_OFF_ACTION_SCHEMA
|
||||||
)
|
)
|
||||||
@automation.register_action(
|
@automation.register_action(
|
||||||
"MAX7219.inveert_on", DisplayInvertAction, MAX7219_ON_ACTION_SCHEMA
|
"MAX7219.invert_on", DisplayInvertAction, MAX7219_ON_ACTION_SCHEMA
|
||||||
)
|
)
|
||||||
async def MAX7219_inveert_to_code(config, action_id, template_arg, args):
|
async def MAX7219_inveert_to_code(config, action_id, template_arg, args):
|
||||||
paren = await cg.get_variable(config[CONF_ID])
|
paren = await cg.get_variable(config[CONF_ID])
|
||||||
|
|
Loading…
Reference in a new issue