The hass object
The `HomeAssistant` instance that integrations get, with access to the state machine, the event bus, actions, and the configuration.
- In code
HomeAssistanthass- Also
- hass
Almost every function in Home Assistant Core takes hass as its first argument. It is how code reaches everything else: hass.states, hass.bus, hass.services, and hass.config.
hass is a name in code. In text, write Home Assistant.