mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-13 12:26:29 +00:00
Consistent properties info for all entities (#1012)
This commit is contained in:
parent
c11d90613f
commit
aa7ff2ea3d
@ -7,7 +7,9 @@ A humidifier entity is a device whose main purpose is to control humidity, i.e.
|
|||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
> Properties should always only return information from memory and not do I/O (like network requests). Implement `update()` or `async_update()` to fetch data.
|
:::tip
|
||||||
|
Properties should always only return information from memory and not do I/O (like network requests). Implement `update()` or `async_update()` to fetch data.
|
||||||
|
:::
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
| ----------------------- | ------ | ------------------------------------------------- | ----------------------------------------------------------------------------------------- |
|
| ----------------------- | ------ | ------------------------------------------------- | ----------------------------------------------------------------------------------------- |
|
||||||
|
@ -7,7 +7,9 @@ A `number` is an entity that allows the user to input an arbitrary value to an i
|
|||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
> Properties should always only return information from memory and not do I/O (like network requests). Implement `update()` or `async_update()` to fetch data.
|
:::tip
|
||||||
|
Properties should always only return information from memory and not do I/O (like network requests). Implement `update()` or `async_update()` to fetch data.
|
||||||
|
:::
|
||||||
|
|
||||||
| Name | Type | Default | Description
|
| Name | Type | Default | Description
|
||||||
| ---- | ---- | ------- | -----------
|
| ---- | ---- | ------- | -----------
|
||||||
|
@ -10,7 +10,9 @@ For example, a bulb can have user selectable light effects. While that could be
|
|||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
> Properties should always only return information from memory and not do I/O (like network requests). Implement `update()` or `async_update()` to fetch data.
|
:::tip
|
||||||
|
Properties should always only return information from memory and not do I/O (like network requests). Implement `update()` or `async_update()` to fetch data.
|
||||||
|
:::
|
||||||
|
|
||||||
| Name | Type | Default | Description
|
| Name | Type | Default | Description
|
||||||
| ---- | ---- | ------- | -----------
|
| ---- | ---- | ------- | -----------
|
||||||
|
@ -7,7 +7,9 @@ A siren entity is a device whose main purpose is to control siren devices like a
|
|||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
> Properties should always only return information from memory and not do I/O (like network requests). Implement `update()` or `async_update()` to fetch data or build a mechanism to push state updates to the entity class instance.
|
:::tip
|
||||||
|
Properties should always only return information from memory and not do I/O (like network requests). Implement `update()` or `async_update()` to fetch data or build a mechanism to push state updates to the entity class instance.
|
||||||
|
:::
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
| ----------------------- | ------ | ------------------------------------- | --------------------------------------------------------------------------------------- |
|
| ----------------------- | ------ | ------------------------------------- | --------------------------------------------------------------------------------------- |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user