mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-04 07:56:29 +00:00
parent
20a95a44d7
commit
14c5e77212
@ -3,7 +3,7 @@ title: Entity
|
||||
sidebar_label: Introduction
|
||||
---
|
||||
|
||||
Each device is represented in Home Assistant as an entity. An entity abstracts away the internal working of Home Assistant. As an integrator you don't have to worry about how services or the state machine work. Instead, you extend an entity class and implement the necessary properties and methods for the device type that you're integrationg.
|
||||
Each device is represented in Home Assistant as an entity. An entity abstracts away the internal working of Home Assistant. As an integrator you don't have to worry about how services or the state machine work. Instead, you extend an entity class and implement the necessary properties and methods for the device type that you're integrating.
|
||||
|
||||
Below is an example switch entity that keeps track of their state in memory.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user