heyajohnny / cryptoinfo

Provides Home Assistant sensors for all cryptocurrencies supported by CoinGecko
GNU General Public License v3.0
46 stars 13 forks source link

ethereum crypto is not working #40

Closed thibdj closed 1 year ago

thibdj commented 1 year ago

hello, It seems that the ethereum crypto is not working. It works with all other cryptos.

An extract of my home assistant conf :

heyajohnny commented 1 year ago

@thibdj Works fine when I use your config:

sensor:
- platform: cryptoinfo
  id: ""
  cryptocurrency_name: "ethereum"
  currency_name: "eur"
  unit_of_measurement: "\u200b"
  multiplier: 1
  update_frequency: 15

image

thibdj commented 1 year ago

@heyajohnny ty for your feedback. I tried another config by addding also cardano, and it's working for BTC and cardano but still not working with Eth, very strange...

heyajohnny commented 1 year ago

@thibdj I've just tested this config:

sensor:
- platform: cryptoinfo
  id: ""
  cryptocurrency_name: "bitcoin"
  currency_name: "eur"
  unit_of_measurement: "\u200b"
  multiplier: 1
  update_frequency: 15
- platform: cryptoinfo
  id: ""
  cryptocurrency_name: "ethereum"
  currency_name: "eur"
  unit_of_measurement: "\u200b"
  multiplier: 1
  update_frequency: 15
- platform: cryptoinfo
  id: ""
  cryptocurrency_name: "cardano"
  currency_name: "eur"
  unit_of_measurement: "\u200b"
  multiplier: 1
  update_frequency: 15

And works like a charm. Are you sure you haven't got a typo somewhere in your configuration.yaml? And what's the Home Assistant and cryptoinfo version you are using?