Fix light template to return brightness as int (#12447)

This commit is contained in:
Andrey authored and Paulus Schoutsen committed 2018-02-17 13:58:55 -08:00
1 parent b651cdd8f2
commit fcf97524a2
2 files changed
+2 -3

No files matched your search

+1 -1
View File
@@ -586,7 +586,7 @@ class TestTemplateLight:
state = self.hass.states.get('light.test_template_light')
assert state is not None
assert state.attributes.get('brightness') == '42'
assert state.attributes.get('brightness') == 42
def test_friendly_name(self):
"""Test the accessibility of the friendly_name attribute."""