'Test that at least one of open_cover or set_position is used.'

def test_template_open_or_position(self):

    with assert_setup_component(1, 'cover'):
        assert setup.setup_component(self.hass, 'cover', {'cover': {'platform': 'template', 'covers': {'test_template_cover': {'value_template': '{{    1    ==    1    }}'}}}})
    self.hass.start()
    self.hass.block_till_done()
    assert (self.hass.states.all() == [])
