There is a sync delay in official component for Broadlink MP1 of HA. This code resolved the issue! (Tested in HA version 0.101.0)
latest update:
May 20th, 2020 - Updated the requirements & Changed from SwitchDevice to SwitchEntity for version 0.110.x
Apr 30th, 2020 - Updated the requirements for version 0.109.x
Apr 9th, 2020 - Updated the requirements for version 0.108.x
Oct 31st, 2019 - Updated the requirements for version 0.101.x
June 27th, 2019 - Updated the requirements for version 0.95.x
June 19th, 2019 - Fixed the long booting time issue at hass.io