Device trigger from ESPhome devices invalid and throws error in HomeKit Integration · Issue #80384 · home-assistant/core · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have been using the device trigger in HomeKit integration with my esphome devices for a while now but it recently started to throw errors. The triggers works fine from other devices (Hue for example) however they fail and throw errors when using esphome devices. There is a report on the HomeKit integration #78774 which the owner mention is an issue with the trigger from the specific device integration being invalid.
What version of Home Assistant Core has the issue?
core-2022.10.4
What was the last working version of Home Assistant Core?
Error setting up trigger
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/voluptuous/schema_builder.py", line 272, in __call__
return self._compiled([], data)
File "/usr/local/lib/python3.10/site-packages/voluptuous/schema_builder.py", line 818, in validate_callable
return schema(data)
File "/usr/src/homeassistant/homeassistant/helpers/config_validation.py", line 148, in validate
raise vol.Invalid(f"must contain at least one of {expected}.")
voluptuous.error.Invalid: must contain at least one of below, above.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/device_automation/trigger.py", line 81, in async_attach_trigger
return await platform.async_attach_trigger(hass, config, action, trigger_info)
File "/usr/src/homeassistant/homeassistant/components/sensor/device_trigger.py", line 168, in async_attach_trigger
numeric_state_config = await numeric_state_trigger.async_validate_trigger_config(
File "/usr/src/homeassistant/homeassistant/components/homeassistant/triggers/numeric_state.py", line 73, in async_validate_trigger_config
config = _TRIGGER_SCHEMA(config)
File "/usr/local/lib/python3.10/site-packages/voluptuous/validators.py", line 232, in __call__
return self._exec((Schema(val) for val in self.validators), v)
File "/usr/local/lib/python3.10/site-packages/voluptuous/validators.py", line 355, in _exec
raise e if self.msg is None else AllInvalid(self.msg, path=path)
File "/usr/local/lib/python3.10/site-packages/voluptuous/validators.py", line 351, in _exec
v = func(v)
File "/usr/local/lib/python3.10/site-packages/voluptuous/schema_builder.py", line 276, in __call__
raise er.MultipleInvalid([e])
voluptuous.error.MultipleInvalid: must contain at least one of below, above.
Additional information
No response
The text was updated successfully, but these errors were encountered:
Hey there @OttoWinter, @jesserockz, mind taking a look at this issue as it has been labeled with an integration (esphome) you are listed as a code owner for? Thanks! (message by CodeOwnersMention)
The problem
Have been using the device trigger in HomeKit integration with my esphome devices for a while now but it recently started to throw errors. The triggers works fine from other devices (Hue for example) however they fail and throw errors when using esphome devices. There is a report on the HomeKit integration #78774 which the owner mention is an issue with the trigger from the specific device integration being invalid.
What version of Home Assistant Core has the issue?
core-2022.10.4
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
ESPHome
Link to integration documentation on our website
https://www.home-assistant.io/integrations/esphome/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response
The text was updated successfully, but these errors were encountered: