Remove history_graph integration (#12141)

* Remove history_graph integration

* Remove history_graph integration
This commit is contained in:
Franck Nijhof 2020-02-20 20:42:29 +01:00 committed by GitHub
parent 07114f2608
commit 768b3354b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 3 additions and 85 deletions

View File

@ -139,7 +139,6 @@ source/_integrations/hikvision.markdown @mezz64
source/_integrations/hikvisioncam.markdown @fbradyirl
source/_integrations/hisense_aehw4a1.markdown @bannhead
source/_integrations/history.markdown @home-assistant/core
source/_integrations/history_graph.markdown @andrey-git
source/_integrations/hive.markdown @Rendili @KJonline
source/_integrations/homeassistant.markdown @home-assistant/core
source/_integrations/homekit_controller.markdown @Jc2k

View File

@ -1,78 +0,0 @@
---
title: History Graph
description: Instructions for setting up History Graph.
ha_category:
- History
logo: home-assistant.png
ha_release: 0.55
ha_quality_scale: internal
ha_codeowners:
- '@andrey-git'
---
<div class='note'>
This integration is deprecated and pending removal in Home Assistant 0.107.0,
as it was only used by the old states UI (not our current Lovelace UI).
</div>
<p class='img'>
<img src='{{site_root}}/images/screenshots/history_graph.png' />
</p>
The `history_graph` integration will make the UI display a graph similar to the graphs in `more-info` popups and the [history](/integrations/history/) panel. If you want to add history graphs to the Lovelace UI, please check the [History Graph Card](/lovelace/history-graph/) configuration as it slightly differs from the component.
To use this integration in your installation, add the following to your `configuration.yaml` file:
```yaml
# Minimal configuration.yaml entry
history_graph:
gr1:
entities:
- light.ceiling.lights
```
{% configuration %}
entities:
description: List of entities whose history to show as a graph.
required: true
type: string
name:
description: Name to display.
required: false
default: ID
type: string
hours_to_show:
description: Number of hours to show in the graph.
required: false
default: 24
type: integer
refresh:
description: Number of seconds between graph refreshes. 0 to disable refreshing.
required: false
default: 0
type: integer
{% endconfiguration %}
### Full Example
```yaml
# Full configuration.yaml entry
history_graph:
gr1:
name: Lights Graph
entities:
- light.ceiling.lights
- light.bed_light
hours_to_show: 240
refresh: 60
gr2:
name: Temperature
entities:
- sensor.outside_temperature
- sensor.inside_temperature
hours_to_show: 120
# refresh: 0
```
For sensors to automatically be combined into one graph they need to have exactly the same unit of measurement. This is important if you have, e.g., a unit-less temperature `state_topic` MQTT sensor and you want to combine this with a weather sensor. `unit_of_measurement:` of the MQTT sensor then needs to be set to `°C`.

View File

@ -61,7 +61,7 @@ Experiencing issues introduced by this release? Please report them in our [issue
## Breaking Changes
- history_graph component: If your component used `history.get_significant_states` function then you need to adjust the string `entity_id` parameter has been changed to a list of strings `entity_ids` parameter. ([@andrey-git] - [#9472]) ([history_graph docs]) (breaking change)
- history_graph component: If your component used `history.get_significant_states` function then you need to adjust the string `entity_id` parameter has been changed to a list of strings `entity_ids` parameter. ([@andrey-git] - [#9472]) (breaking change)
- UPNP component: The `external_port` configuration option was removed. ([@balloob] - [#9560]) ([upnp docs]) (breaking change)
- New Wink services: pair new device, rename, delete and add new lock key code. All device attributes that are multi-words are now separated by "_" and no longer " ". ([@w1ll1am23] - [#9303]) ([wink docs]) ([binary_sensor.wink docs]) ([lock.wink docs]) (breaking change)
- TP-Link Switch: Attribute names now uses underscores and unnecessary capitalization was removed. ([@djchen] - [#9607]) ([switch.tplink docs]) (breaking change)
@ -383,7 +383,6 @@ Experiencing issues introduced by this release? Please report them in our [issue
[forum]: https://community.home-assistant.io/
[issue]: https://github.com/home-assistant/home-assistant/issues
[discord]: https://discord.gg/c5DvZ4e
[history_graph docs]: /integrations/history_graph/
[#9754]: https://github.com/home-assistant/home-assistant/pull/9754
[#9776]: https://github.com/home-assistant/home-assistant/pull/9776
[#9785]: https://github.com/home-assistant/home-assistant/pull/9785

View File

@ -236,7 +236,7 @@ Experiencing issues introduced by this release? Please report them in our [issue
- __Weblink__ *Deprecated* - The weblink integration is now deprecated and pending removal in Home Assistant 0.107.0. This integration only works with the old states UI. - ([@frenck] - [#30834])
- __History Graph__ *Deprecated* - The `history_graph` integration has been deprecated and pending for removal in Home Assistant 0.107.0. This integration was used for the old states UI. Going ahead, please ensure this configuration option is not used in your configuration. - ([@frenck] - [#30835]) ([history_graph docs])
- __History Graph__ *Deprecated* - The `history_graph` integration has been deprecated and pending for removal in Home Assistant 0.107.0. This integration was used for the old states UI. Going ahead, please ensure this configuration option is not used in your configuration. - ([@frenck] - [#30835])
- __Neato__ - This change adds a neato boundary name to the state if it exists, requiring to potentially update automations. - ([@Olen] - [#29915]) ([neato docs])
@ -776,7 +776,7 @@ Hats over your heart for these shuttered integrations. Pour one out for:
- Deprecate states UI options in group integration ([@frenck] - [#30831]) ([group docs]) (breaking change)
- Deprecate weblink integration ([@frenck] - [#30834]) (breaking change)
- Deprecate hide_if_away from device_tracker ([@frenck] - [#30833]) ([device_tracker docs]) (breaking change)
- Deprecate history_graph integration ([@frenck] - [#30835]) ([history_graph docs]) (breaking change)
- Deprecate history_graph integration ([@frenck] - [#30835]) (breaking change)
- Remove unused import ([@dshokouhi] - [#30858]) ([ring docs])
- Bump pyvizio version to 0.1.1 ([@raman325] - [#30867]) ([vizio docs])
- Update pyatmo to 3.2.2 and add available attribute ([@cgtobi] - [#30882]) ([netatmo docs])
@ -1458,7 +1458,6 @@ Hats over your heart for these shuttered integrations. Pour one out for:
[group docs]: /integrations/group/
[hassio docs]: /integrations/hassio/
[hisense_aehw4a1 docs]: /integrations/hisense_aehw4a1/
[history_graph docs]: /integrations/history_graph/
[hlk_sw16 docs]: /integrations/hlk_sw16/
[homeassistant docs]: /integrations/homeassistant/
[homekit docs]: /integrations/homekit/

View File

@ -1420,7 +1420,6 @@
/components/hikvision /integrations/hikvision
/components/hikvisioncam /integrations/hikvisioncam
/components/history /integrations/history
/components/history_graph /integrations/history_graph
/components/history_stats /integrations/history_stats
/components/hitron_coda /integrations/hitron_coda
/components/hive /integrations/hive