I am using IOTLink, but for my use case I have my Harmony activity being monitored accordingly. Another automation turns the switch on when “leaving” that activity.
alias: Mining - Turn off when PC in use
description: ''
trigger:
- platform: state
entity_id: sensor.theater_harmony
to: Watch PC
condition: []
action:
- service: switch.turn_off
data: {}
entity_id: switch.nh_morpheus_power
mode: single
good evening. I have prices appearing in EUR and the problem is showing 14 decimal places. in value in BTC and MH / S the same is also true. how can i decrease these decimal places? thanks
Thank you both …
Is there no way to change the decimal places without touching the configuration.yaml file?
touching a file in the custom_components folder …
Thank you for your help
I can’t get it to work in Euro. When i enter EUR in currency, it connects, but all the entities for euro are unavailable.
Here are the logs.
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py”, line 126, in _handle_refresh_interval
await self.async_refresh()
File “/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py”, line 200, in async_refresh
update_callback()
File “/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py”, line 260, in _handle_coordinator_update
self.async_write_ha_state()
File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 295, in async_write_ha_state
self._async_write_ha_state()
File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 319, in _async_write_ha_state
sstate = self.state
File “/config/custom_components/nicehash/sensor.py”, line 379, in state
* self.coordinator.data[ACCOUNT_OBJ][“currencies”][0][“fiatRate”]
KeyError: ‘fiatRate’
Thanks for the integration! I was able to build a nice dashboards using it. Is there a way to obtain payment events via api? I’d like to create alert each time I get paid.
Does anyone have this working? I just started nice hash, made the API etc.
But when I hit next on the integration page it just fails.
* 500: Internal Server Error: {"error_id":"9bdc9c7e-7CCf-402e-8120-5f9495254536","errors":[{"code":10,"message":"An error occurred while fulfilling the request"}]}
I’ve been using this for a while now, and love it, thought i would share my Lovelace card with others as i couldnt find anything that nice looking, The card requires some frontend addons from hacs which ive also listed below:
Hello The Fonix, Great card you have made there !!!
I have it all working bar the GPU Info and CPU info witch I have no sensors for how did you get them to work.
Thanks James
hello, i added the url to the custom integration into HACS and installed. I do see the nicehash folder in my custom_components folder but when i try to find the integration in the “setup a new integration” i cant find it. can someone help me? thanks!