ESPHOME version of the ESPEASY-ITHO plugin. This is code i reworked form https://github.com/CoMPaTech/esphome_c1101
The code missed some things i had available in the ESPEASY ITHO plugin
Added:
Timer value is counting down when a timer function is activated
Extra textsensor to identify the device that had issued the state change of the fan.