Commit Graph

6 Commits

Author SHA1 Message Date
Brian Berg
96498e580e refactor: split out data coordinators and sensors
- remove unused imports
2020-06-17 01:46:53 +00:00
Brian Berg
da7e12c75d feat(sensor): ignore inactive sensor by status
- add data attribution to account and temp sensors
- add active device temp sensor attribute
- rename total device temp sensor attribute
2020-06-17 01:00:44 +00:00
Brian Berg
8456fa4c34 feat(nicehash): add more acount balance sensors
- add total and pending sensors for BTC
- add total and pending sensors for currency
- default currency to USD
- only support EUR or USD currency
  - in addition to BTC
- ignore non-BTC exchange rates
2020-06-17 00:58:47 +00:00
Brian Berg
2ef6ad9ac1 fix(sensor): fix rig temperature sensor state
- was short-circuiting after first device
- ignore inactive (-1) temperatures
2020-06-16 23:43:13 +00:00
Brian Berg
93d9ca79a1 feat: add data update coordinators
- add account and rig update coordinators
- sensors share data
2020-06-16 00:28:01 -04:00
Brian Berg
fe8f8233a8 feat: add platform integration
- add configuration support
- add english config translations for later
- add account balance sensor
- add mining rig temperature sensors
2020-06-16 00:28:01 -04:00