Skip to content

Commit

Permalink
Merge pull request #1 from badguy99/tidy_up
Browse files Browse the repository at this point in the history
text corrections
thanks @badguy99 !
  • Loading branch information
jscruz authored Mar 4, 2021
2 parents 881d9ed + 0758e41 commit 14f9073
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion custom_components/carbon_intensity_uk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Custom integration to integrate UK Carbon Intensity API with Home Assistant.

For more details about this integration, please refer to
https://github.com/custom-components/carbon_intensity_uk
https://github.com/jscruz/sensor.carbon_intensity_uk
"""
import asyncio
import logging
Expand Down
2 changes: 1 addition & 1 deletion custom_components/carbon_intensity_uk/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
DOMAIN_DATA = f"{DOMAIN}_data"
VERSION = "0.0.1"

ISSUE_URL = "https://github.com/custom-components/sensor.carbon_intensity_uk/issues"
ISSUE_URL = "https://github.com/jscruz/sensor.carbon_intensity_uk/issues"

# Icons
ICON = "mdi:leaf"
Expand Down
2 changes: 1 addition & 1 deletion custom_components/carbon_intensity_uk/entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,5 @@ async def async_added_to_hass(self):
)

async def async_update(self):
"""Update Brother entity."""
"""Update Carbon Intensity UK entity."""
await self.coordinator.async_request_refresh()
2 changes: 1 addition & 1 deletion custom_components/carbon_intensity_uk/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"step": {
"user": {
"title": "Carbon Intensity UK",
"description": "If you need help with the configuration have a look here: https://github.com/custom-components/carbon_intensity_uk",
"description": "If you need help with the configuration have a look here: https://github.com/jscruz/sensor.carbon_intensity_uk",
"data": {
"postcode": "UK Postcode (e.g. SW1)"
}
Expand Down
4 changes: 2 additions & 2 deletions info.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ _Component to integrate with [Carbon Intensity UK][carbon_intensity_uk]._

Platform | Description
-- | --
`sensor` | Show info from blueprint API.
`sensor` | Show info from Carbon Intensity UK API.

![alt Sensor attributes][attributesimg]

{% if not installed %}
## Installation

1. Click install.
1. In the HA UI go to "Configuration" -> "Integrations" click "+" and search for "Blueprint".
1. In the HA UI go to "Configuration" -> "Integrations" click "+" and search for "Carbon Intensity UK".

{% endif %}

Expand Down

0 comments on commit 14f9073

Please sign in to comment.