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:
parent
4f2195101c
commit
d3e99f13dd
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
"""Bitcoin information service that uses blockchain.info."""
|
"""Bitcoin information service that uses blockchain.com."""
|
||||||
from datetime import timedelta
|
from datetime import timedelta
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ from homeassistant.helpers.entity import Entity
|
||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
ATTRIBUTION = "Data provided by blockchain.info"
|
ATTRIBUTION = "Data provided by blockchain.com"
|
||||||
|
|
||||||
DEFAULT_CURRENCY = "USD"
|
DEFAULT_CURRENCY = "USD"
|
||||||
|
|
||||||
|
@ -168,7 +168,7 @@ class BitcoinData:
|
||||||
self.ticker = None
|
self.ticker = None
|
||||||
|
|
||||||
def update(self):
|
def update(self):
|
||||||
"""Get the latest data from blockchain.info."""
|
"""Get the latest data from blockchain.com."""
|
||||||
|
|
||||||
self.stats = statistics.get()
|
self.stats = statistics.get()
|
||||||
self.ticker = exchangerates.get_ticker()
|
self.ticker = exchangerates.get_ticker()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue