mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 11:47:06 +00:00
Remove surepetcare usage of deprecated config options (#50113)
This commit is contained in:
parent
65cf138360
commit
40a18c10a0
@ -105,7 +105,7 @@ async def async_setup(hass: HomeAssistant, config: dict) -> bool:
|
|||||||
lock_state_service_schema = vol.Schema(
|
lock_state_service_schema = vol.Schema(
|
||||||
{
|
{
|
||||||
vol.Required(ATTR_FLAP_ID): vol.All(
|
vol.Required(ATTR_FLAP_ID): vol.All(
|
||||||
cv.positive_int, vol.In(conf[CONF_FLAPS])
|
cv.positive_int, vol.In(spc.states.keys())
|
||||||
),
|
),
|
||||||
vol.Required(ATTR_LOCK_STATE): vol.All(
|
vol.Required(ATTR_LOCK_STATE): vol.All(
|
||||||
cv.string,
|
cv.string,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user