Skip to content

Commit d158fad

Browse files
committed
Fix get_config to send get_config command
Fixes the HomeAssistantClient.get_config method so it actually sends "get_config" rather than "get_states".
1 parent f5c1f56 commit d158fad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hass_client/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ async def get_states(self) -> list[State]:
189189

190190
async def get_config(self) -> list[Config]:
191191
"""Get dump of the current config in Home Assistant."""
192-
return await self.send_command("get_states")
192+
return await self.send_command("get_config")
193193

194194
async def get_services(self) -> dict[str, dict[str, Any]]:
195195
"""Get dump of the current services in Home Assistant."""

0 commit comments

Comments
 (0)