Skip to content

Commit

Permalink
fix ci checks
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaszduda23 committed Apr 11, 2024
1 parent 37de46e commit 55646ed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -391,9 +391,9 @@ esphome/components/uart/button/* @ssieb
esphome/components/ufire_ec/* @pvizeli
esphome/components/ufire_ise/* @pvizeli
esphome/components/ultrasonic/* @OttoWinter
esphome/components/uponor_smatrix/* @kroimon
esphome/components/usb_device/* @tomaszduda23
esphome/components/usb_device/hid/* @tomaszduda23
esphome/components/uponor_smatrix/* @kroimon
esphome/components/vbus/* @ssieb
esphome/components/veml3235/* @kbx81
esphome/components/veml7700/* @latonita
Expand Down
8 changes: 5 additions & 3 deletions esphome/components/keyboard/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,9 +207,11 @@ def add_key_action(name, action_name, is_required):
cv.Schema(
{
cv.GenerateID(): cv.use_id(Keyboard),
cv.Required(CONF_KEYS)
if is_required
else cv.Optional(CONF_KEYS): cv.ensure_list(convert_key_to_code),
(
cv.Required(CONF_KEYS)
if is_required
else cv.Optional(CONF_KEYS)
): cv.ensure_list(convert_key_to_code),
cv.Optional(CONF_TYPE, CONF_KEYBOARD): cv.All(
cv.enum(CONF_KEYBOARD_TYPE, lower=True),
cv.Length(min=1),
Expand Down

0 comments on commit 55646ed

Please sign in to comment.