'Test the \'or\' condition.'

def test_or_condition(self):

    test = condition.from_config({'condition': 'or', 'conditions': [{'condition': 'state', 'entity_id': 'sensor.temperature', 'state': '100'}, {'condition': 'numeric_state', 'entity_id': 'sensor.temperature', 'below': 110}]})
    self.hass.states.set('sensor.temperature', 120)
    assert (not test(self.hass))
    self.hass.states.set('sensor.temperature', 105)
    assert test(self.hass)
    self.hass.states.set('sensor.temperature', 100)
    assert test(self.hass)
