async def async_turn_off(self, **kwargs: Any) -> None:
    'Turn the entity off.'
    (await self.hass.async_add_executor_job(ft.partial(self.turn_off, **kwargs)))
Turn the entity off.
async def async_turn_off(self, **kwargs: Any) -> None:
    
    (await self.hass.async_add_executor_job(ft.partial(self.turn_off, **kwargs)))