Update esphome/components/max7219digit/display.py

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
NP v/d Spek 2024-04-15 06:38:56 +02:00 committed by GitHub
parent da3ee436b1
commit b9313aa303
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -134,7 +134,7 @@ MAX7219_ON_ACTION_SCHEMA = automation.maybe_simple_id(
"MAX7219.invert_off", DisplayInvertAction, MAX7219_OFF_ACTION_SCHEMA
)
@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):
paren = await cg.get_variable(config[CONF_ID])