mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-19 07:16:29 +00:00
Move attribution attribute to Entity base class (#1080)
This commit is contained in:
parent
8e2418316d
commit
26d427f396
@ -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. |
|
||||
|
@ -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`.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user