'Test a hold that is long enough.'

def test_held_more_than_long(self):

    self.setup_automation({'platform': 'litejet', 'number': ENTITY_OTHER_SWITCH_NUMBER, 'held_more_than': {'milliseconds': '200'}})
    self.simulate_press(ENTITY_OTHER_SWITCH_NUMBER)
    assert (len(self.calls) == 0)
    self.simulate_time(timedelta(seconds=0.3))
    assert (len(self.calls) == 1)
    self.simulate_release(ENTITY_OTHER_SWITCH_NUMBER)
    assert (len(self.calls) == 1)
