From 26d427f396af8842cdf449a54932aab64e3ac845 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Mon, 11 Oct 2021 23:15:42 +0200 Subject: [PATCH] Move attribution attribute to Entity base class (#1080) --- docs/core/entity.md | 1 + docs/core/entity/weather.md | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/core/entity.md b/docs/core/entity.md index cc05c9a1..9fb3f649 100644 --- a/docs/core/entity.md +++ b/docs/core/entity.md @@ -63,6 +63,7 @@ Properties should always only return information from memory and not do I/O (lik | Name | Type | Default | Description | | ----------------------- | ------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | assumed_state | boolean | `False` | Return `True` if the state is based on our assumption instead of reading it from the device. | +| attribution | string | `None` | The branding text required by the API provider. | | available | boolean | `True` | Indicate if Home Assistant is able to read the state and control the underlying device. | | device_class | string | `None` | Extra classification of what the device is. Each domain specifies their own. Device classes can come with extra requirements for unit of measurement and supported features. | | extra_state_attributes | dict | `None` | Extra information to store in the state machine. It needs to be information that further explains the state, it should not be static information like firmware version. | diff --git a/docs/core/entity/weather.md b/docs/core/entity/weather.md index 8f3ce5f1..6beed2e3 100644 --- a/docs/core/entity/weather.md +++ b/docs/core/entity/weather.md @@ -21,7 +21,6 @@ Properties should always only return information from memory and not do I/O (lik | wind_speed | float | `None` | The current wind speed in km/h or mi/h. | wind_bearing | float or string | `None` | The current wind bearing in azimuth angle (degrees) or 1-3 letter cardinal direction. | forecast | array | `None` | Daily or Hourly forecast data. -| attribution | string | `None` | The branding text required by the API provider. Properties have to follow the units defined in the `unit_system`.