Instead of one function that contains all the device types available in `automation_devices` a global registry is used were each device can register itself.
Instead of one function that contains all the device types available in `automation_devices` a global registry is used were each device can register itself.