mirror of
https://github.com/esphome/esphome.git
synced 2026-06-01 17:57:37 +08:00
[pipsolar] Fix set_level action passing string to cv.use_id (#15380)
This commit is contained in:
@@ -94,7 +94,7 @@ async def to_code(config):
|
|||||||
SetOutputAction,
|
SetOutputAction,
|
||||||
cv.Schema(
|
cv.Schema(
|
||||||
{
|
{
|
||||||
cv.Required(CONF_ID): cv.use_id(CONF_ID),
|
cv.Required(CONF_ID): cv.use_id(PipsolarOutput),
|
||||||
cv.Required(CONF_VALUE): cv.templatable(cv.positive_float),
|
cv.Required(CONF_VALUE): cv.templatable(cv.positive_float),
|
||||||
}
|
}
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user