'Test for setup failure for boolean to.'

def test_if_fails_setup_if_to_boolean_value(self):

    with assert_setup_component(0):
        assert setup_component(self.hass, automation.DOMAIN, {automation.DOMAIN: {'trigger': {'platform': 'state', 'entity_id': 'test.entity', 'to': True}, 'action': {'service': 'homeassistant.turn_on'}}})
