Skip to content

Commit

Permalink
select
Browse files Browse the repository at this point in the history
  • Loading branch information
netmindz committed Nov 2, 2023
1 parent 6658b55 commit 6783642
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions components/BalboaGL/select/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,15 @@
Pump2Select = select_ns.class_('BalboaGLPump2Select', select.Select, cg.Component)

CONFIG_SCHEMA = cv.Schema({
cv.GenerateID(CONF_BALBOA_ID): cv.use_id(BalboaGL),
cv.Optional(CONF_PUMP1): select.SELECT_SCHEMA.extend({
cv.GenerateID(): cv.declare_id(Pump1Select),
cv.GenerateID(CONF_BALBOA_ID): cv.use_id(BalboaGL),
cv.Required(CONF_OPTIONS): cv.All(
cv.ensure_list(cv.string_strict), cv.Length(min=1)
),
}),
cv.Optional(CONF_PUMP2): select.SELECT_SCHEMA.extend({
cv.GenerateID(): cv.declare_id(Pump2Select),
cv.GenerateID(CONF_BALBOA_ID): cv.use_id(BalboaGL),
cv.Required(CONF_OPTIONS): cv.All(
cv.ensure_list(cv.string_strict), cv.Length(min=1)
),
Expand Down

0 comments on commit 6783642

Please sign in to comment.