mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-13 20:36:29 +00:00
Add link to source for different entities (#1179)
* Update weather.md * Update binary-sensor.md * Update remote.md * Update sensor.md * Update vacuum.md * Update water-heater.md * Update vacuum.md
This commit is contained in:
parent
a0a2a6dcf6
commit
6f535de5a9
@ -3,7 +3,7 @@ title: Binary Sensor Entity
|
||||
sidebar_label: Binary Sensor
|
||||
---
|
||||
|
||||
A binary sensor is a sensor that can only have two states.
|
||||
A binary sensor is a sensor that can only have two states. Derive entity platforms from [`homeassistant.components.binary_sensor.BinarySensorEntity`](https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/binary_sensor/__init__.py)
|
||||
|
||||
## Properties
|
||||
|
||||
|
@ -3,6 +3,8 @@ title: Remote Entity
|
||||
sidebar_label: Remote
|
||||
---
|
||||
|
||||
Derive entity platforms from [`homeassistant.components.remote.RemoteEntity`](https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/remote/__init__.py)
|
||||
|
||||
## Properties
|
||||
|
||||
:::tip
|
||||
|
@ -3,7 +3,7 @@ title: Sensor Entity
|
||||
sidebar_label: Sensor
|
||||
---
|
||||
|
||||
A sensor is a read-only entity that provides some information. Information has a value and optionally, a unit of measurement.
|
||||
A sensor is a read-only entity that provides some information. Information has a value and optionally, a unit of measurement. Derive entity platforms from [`homeassistant.components.sensor.SensorEntity`](https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/sensor/__init__.py)
|
||||
|
||||
## Properties
|
||||
|
||||
|
@ -3,12 +3,18 @@ title: Vacuum Entity
|
||||
sidebar_label: Vacuum
|
||||
---
|
||||
|
||||
Derive entity platforms from [`homeassistant.components.vacuum.StateVacuumEntity`](https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/vacuum/__init__.py)
|
||||
|
||||
## Properties
|
||||
|
||||
:::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.
|
||||
:::
|
||||
|
||||
:::note
|
||||
`VacuumEntity` is deprecated and will be removed in future releases. Please use or migrate to the `StateVacuumEntity`
|
||||
:::
|
||||
|
||||
:::caution
|
||||
VacuumEntity and StateVacuumEntity do not support attribute shorthand for [property implementation](../entity.md#entity-class-or-instance-attributes)
|
||||
:::
|
||||
|
@ -3,6 +3,8 @@ title: Water Heater Entity
|
||||
sidebar_label: Water Heater
|
||||
---
|
||||
|
||||
Derive entity platforms from [`homeassistant.components.water_heater.WaterHeaterEntity`](https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/water_heater/__init__.py)
|
||||
|
||||
## Properties
|
||||
|
||||
:::tip
|
||||
|
@ -3,6 +3,8 @@ title: Weather Entity
|
||||
sidebar_label: Weather
|
||||
---
|
||||
|
||||
Derive entity platforms from [`homeassistant.components.weather.WeatherEntity`](https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/weather/__init__.py)
|
||||
|
||||
## Properties
|
||||
|
||||
:::tip
|
||||
|
Loading…
x
Reference in New Issue
Block a user