Changed website name to blockchain.com (#31528)

The name and domain of blockchain.info has been changed to blockchain.com. Updated the names in de script.
This commit is contained in:
P-Verbrugge 2020-02-06 15:43:52 +01:00 committed by GitHub
parent 4f2195101c
commit d3e99f13dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
"""Bitcoin information service that uses blockchain.info."""
"""Bitcoin information service that uses blockchain.com."""
from datetime import timedelta
import logging
@ -12,7 +12,7 @@ from homeassistant.helpers.entity import Entity
_LOGGER = logging.getLogger(__name__)
ATTRIBUTION = "Data provided by blockchain.info"
ATTRIBUTION = "Data provided by blockchain.com"
DEFAULT_CURRENCY = "USD"
@ -168,7 +168,7 @@ class BitcoinData:
self.ticker = None
def update(self):
"""Get the latest data from blockchain.info."""
"""Get the latest data from blockchain.com."""
self.stats = statistics.get()
self.ticker = exchangerates.get_ticker()