'Test rounding value.'

def test_rounding_value(self):

    self.hass.states.set('sensor.temperature', 12.78)
    self.assertEqual('12.8', template.Template('{{    states.sensor.temperature.state    |    round(1)    }}', self.hass).render())
    self.assertEqual('128', template.Template('{{    states.sensor.temperature.state    |    multiply(10)    |    round    }}', self.hass).render())
