'Test an in-range trigger with a too short hold.'

def test_held_in_range_short(self):

    self.setup_automation({'platform': 'litejet', 'number': ENTITY_OTHER_SWITCH_NUMBER, 'held_more_than': {'milliseconds': '100'}, 'held_less_than': {'milliseconds': '300'}})
    self.simulate_press(ENTITY_OTHER_SWITCH_NUMBER)
    self.simulate_time(timedelta(seconds=0.05))
    self.simulate_release(ENTITY_OTHER_SWITCH_NUMBER)
    assert (len(self.calls) == 0)
