-
-
Notifications
You must be signed in to change notification settings - Fork 68
Open
Description
What version of Spook are you using?
v4.0.1
What version of Home Assistant are you using?
2025.10.2
The problem
when trying to call homeassistant.add_area_to_floor whit:
action: homeassistant.add_area_to_floor
data:
floor_id: "first_floor"
area_id: "room1"
i get the error
"extra keys not allowed @ data['area_id']. Got None required key not provided @ data['entity_id']. Got None”"
i had a quick look into the code of https://github.com/frenck/spook/blob/main/custom_components/spook/ectoplasms/homeassistant/services/add_area_to_floor.py and it semes to me that on line 30
vol.Required("entity_id"): vol.All(cv.ensure_list, [cv.string]),
should actually be
vol.Required("area_id"): vol.All(cv.ensure_list, [cv.string]),
at least for me chaning this solved the problem.
Anything in the logs? Paste it here!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels