Home Assistant Integration
Integrates with the Home Assistant server registered in Settings. Home Assistant entities can be read or controlled, and Grablo variables can be exposed to Home Assistant as new entities. Server connections are registered in Settings > Home Assistant (Part 6).
HA Server
Select the Home Assistant server to communicate with.
Commands
- Read (default): Reads the state and attribute values of an entity into variables.
- Write: Sends values to an entity to control it (for example, turn a light on, switch off, set a temperature).
- Expose Variables: Exposes Grablo variables to Home Assistant as new entities (sensor or binary_sensor).
Fields
HA Entity
Select the entity to read or control. Once the server is connected, the registered entities are listed with domain filtering (lights, switches, sensors, and so on), and entity search and a current-state preview are supported. Displayed only when Command is Read or Write.
Property Mapping
The table lists the properties generated from the state and attributes of the selected entity. For Read, the values of the checked properties are stored in variables; for Write, values are sent to the checked properties. The list of properties depends on the domain and device class of the entity. Displayed only when Command is Read or Write.
Expose Items
A table of the variables exposed to Home Assistant. Displayed only when Command is Expose Variables. Each item has the following settings.
- Variable: The Grablo variable to expose. Digital variables are exposed as binary_sensor and all other variables as sensor.
- Unit: The unit of the value (for example, °C, %, W, kWh).
- Device Class: Determines the icon and presentation in the Home Assistant UI. Digital variables choose from 28 classes such as door, motion, and smoke; other variables choose from 60 classes such as temperature, humidity, and power. none can also be selected.