From 768b3354b8a379d8a5202d03044020358b15200b Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Thu, 20 Feb 2020 20:42:29 +0100 Subject: [PATCH] Remove history_graph integration (#12141) * Remove history_graph integration * Remove history_graph integration --- CODEOWNERS | 1 - source/_integrations/history_graph.markdown | 78 ------------------- source/_posts/2017-10-07-release-55.markdown | 3 +- source/_posts/2020-02-05-release-105.markdown | 5 +- source/_redirects | 1 - 5 files changed, 3 insertions(+), 85 deletions(-) delete mode 100644 source/_integrations/history_graph.markdown diff --git a/CODEOWNERS b/CODEOWNERS index 784b54df9eb..52f64a2ad6f 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -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 diff --git a/source/_integrations/history_graph.markdown b/source/_integrations/history_graph.markdown deleted file mode 100644 index 211ce8ca2c8..00000000000 --- a/source/_integrations/history_graph.markdown +++ /dev/null @@ -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' ---- - -
- 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). -
- -

- -

- -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`. diff --git a/source/_posts/2017-10-07-release-55.markdown b/source/_posts/2017-10-07-release-55.markdown index 7d43e88825c..ef0742b215d 100644 --- a/source/_posts/2017-10-07-release-55.markdown +++ b/source/_posts/2017-10-07-release-55.markdown @@ -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 diff --git a/source/_posts/2020-02-05-release-105.markdown b/source/_posts/2020-02-05-release-105.markdown index 73ece7c8bbe..69cca2c0277 100644 --- a/source/_posts/2020-02-05-release-105.markdown +++ b/source/_posts/2020-02-05-release-105.markdown @@ -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/ diff --git a/source/_redirects b/source/_redirects index f1059a70fd4..171f4b4b0e3 100644 --- a/source/_redirects +++ b/source/_redirects @@ -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