Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion homeassistant/components/blockchain/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"domain": "blockchain",
"name": "Blockchain.info",
"name": "Blockchain.com",
"documentation": "https://www.home-assistant.io/integrations/blockchain",
"requirements": ["python-blockchain-api==0.0.2"],
"dependencies": [],
Expand Down
8 changes: 4 additions & 4 deletions homeassistant/components/blockchain/sensor.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Support for Blockchain.info sensors."""
"""Support for Blockchain.com sensors."""
from datetime import timedelta
import logging

Expand All @@ -12,7 +12,7 @@

_LOGGER = logging.getLogger(__name__)

ATTRIBUTION = "Data provided by blockchain.info"
ATTRIBUTION = "Data provided by blockchain.com"

CONF_ADDRESSES = "addresses"

Expand All @@ -31,7 +31,7 @@


def setup_platform(hass, config, add_entities, discovery_info=None):
"""Set up the Blockchain.info sensors."""
"""Set up the Blockchain.com sensors."""

addresses = config.get(CONF_ADDRESSES)
name = config.get(CONF_NAME)
Expand All @@ -45,7 +45,7 @@ def setup_platform(hass, config, add_entities, discovery_info=None):


class BlockchainSensor(Entity):
"""Representation of a Blockchain.info sensor."""
"""Representation of a Blockchain.com sensor."""

def __init__(self, name, addresses):
"""Initialize the sensor."""
Expand Down