Added Calendar support
This is a major code rewrite to add support for the Calendar Entity (credits @WouterTuinstra)
To use the new Calendar Entity you will need to remove your config in the sensor platform and add the custom component as a platform.
Visit the github page for an example config.