From aa7ff2ea3da37545edc3e49dc52950c704b631dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20Hansl=C3=ADk?= Date: Tue, 3 Aug 2021 13:56:04 +0200 Subject: [PATCH] Consistent properties info for all entities (#1012) --- docs/core/entity/humidifier.md | 4 +++- docs/core/entity/number.md | 4 +++- docs/core/entity/select.md | 4 +++- docs/core/entity/siren.md | 4 +++- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/docs/core/entity/humidifier.md b/docs/core/entity/humidifier.md index ede06106..38769da8 100644 --- a/docs/core/entity/humidifier.md +++ b/docs/core/entity/humidifier.md @@ -7,7 +7,9 @@ A humidifier entity is a device whose main purpose is to control humidity, i.e. ## 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 | | ----------------------- | ------ | ------------------------------------------------- | ----------------------------------------------------------------------------------------- | diff --git a/docs/core/entity/number.md b/docs/core/entity/number.md index 0c2e962e..103bb2d0 100644 --- a/docs/core/entity/number.md +++ b/docs/core/entity/number.md @@ -7,7 +7,9 @@ A `number` is an entity that allows the user to input an arbitrary value to an i ## 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 | ---- | ---- | ------- | ----------- diff --git a/docs/core/entity/select.md b/docs/core/entity/select.md index 05f9ec84..0194c3bc 100644 --- a/docs/core/entity/select.md +++ b/docs/core/entity/select.md @@ -10,7 +10,9 @@ For example, a bulb can have user selectable light effects. While that could be ## 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 | ---- | ---- | ------- | ----------- diff --git a/docs/core/entity/siren.md b/docs/core/entity/siren.md index 416d4610..4701a3bc 100644 --- a/docs/core/entity/siren.md +++ b/docs/core/entity/siren.md @@ -7,7 +7,9 @@ A siren entity is a device whose main purpose is to control siren devices like a ## 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 | | ----------------------- | ------ | ------------------------------------- | --------------------------------------------------------------------------------------- |