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:
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user