A change to the names of types (that was not clarified in the documentation) will break this integration in the 2021.7 release. I will submit the correction shortly.
The issue is that the documentation states to use TRIGGER_BASE_SCHEMA which can be imported from device_automation, however I think it was supposed to be DEVICE_TRIGGER_BASE_SCHEMA. The scaffold created this and some modern components use this, however the docs alone just reference TRIGGER_BASESCHEMA. This no longer exists and this the integration breaks on load (and will break other automations.) The fix is minor just add DEVICE before and everything is fine.
A change to the names of types (that was not clarified in the documentation) will break this integration in the 2021.7 release. I will submit the correction shortly.
The issue is that the documentation states to use TRIGGER_BASE_SCHEMA which can be imported from device_automation, however I think it was supposed to be DEVICE_TRIGGER_BASE_SCHEMA. The scaffold created this and some modern components use this, however the docs alone just reference TRIGGER_BASESCHEMA. This no longer exists and this the integration breaks on load (and will break other automations.) The fix is minor just add DEVICE before and everything is fine.