Making ceiling fans smart using Home Assistant