Retrieve Home Assistant States
Usage
ha_get_states(entity_id = NULL, ip = NULL)
Arguments
- entity_id
Optional. Entity ID. For example, sensor.temperature
.
- ip
IP address. Default is NULL
, which uses the local host.
Value
A list containing the Home Assistant configuration.
Examples
if (FALSE) { # ha_has_key()
ha_get_states()
}