'Test referring states by entity id.'

def test_referring_states_by_entity_id(self):

    self.hass.states.set('test.object', 'happy')
    self.assertEqual('happy', template.Template('{{    states.test.object.state    }}', self.hass).render())
