Dynamically disable entity

Hi,
I have integration with iRobot.
HA connects to iRobot with some delay to check it status. I would like to turn off this integration for night time. How I can do this?

I just want that HA don’t connect to iRobot during selected period of time.

As far as I know this isn’t possible, but what problem are you trying to solve?

When HA connects to iRobot, button Start glows with green color.
Sometime I sleep in room where iRobot located, and this green light disturbs me during night :slight_smile:

And I don’t want to use duck tape