heyajohnny / cryptoinfo

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

seperate sensor for 24h change attribute #38

Closed 1mfaasj closed 1 year ago

1mfaasj commented 1 year ago

Hi, I want to create a seperate sensor for the 24h change attribute, do you have a template example? Thanks for this addition!

heyajohnny commented 1 year ago

There's an example with the 24h_volume attribute in the README . Just change the '24h_volume' into '24h_change' and it should work. (Also change the name of the 'sensor.xxx' According to the name of your sensor)