1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-26 14:08:21 +00:00

More improvements to State

This commit is contained in:
Paulus Schoutsen
2014-01-22 19:40:19 -08:00
parent 7c15e24d09
commit 659f185252
4 changed files with 34 additions and 31 deletions

View File

@@ -138,7 +138,7 @@ class TestHTTPInterface(unittest.TestCase):
_url(hah.URL_API_STATES_ENTITY.format("test")),
data={"api_password": API_PASSWORD})
data = ha.State.from_json_dict(req.json())
data = ha.State.from_dict(req.json())
state = self.statemachine.get_state("test")