miouzikal / hassio-addons

Custom addons for Home Assistant
2 stars 0 forks source link

Fail when updating sensor #9

Open jonathanicq opened 3 years ago

jonathanicq commented 3 years ago

@miouzikal

I didn't see anything about any sensor on the documentation, but the bot log says:

2021-05-29 12:21:38,884 - crypto_trading_logger - INFO - Bought DOT 2021-05-29 12:21:39,025 - crypto_trading_logger - INFO - Scouting... current: DOTUSDT 2021-05-29 12:29:55,526 - crypto_trading_logger - ERROR - Unexpected Error Updating HA sensor. Check the logs for the exception message. 2021-05-29 12:29:55,527 - crypto_trading_logger - ERROR - Unexpected Error Updating HA sensor. {ex} 2021-05-29 12:38:31,558 - crypto_trading_logger - ERROR - Unexpected Error Updating HA sensor. Check the logs for the exception message. 2021-05-29 12:38:31,559 - crypto_trading_logger - ERROR - Unexpected Error Updating HA sensor. {ex} 2021-05-29 12:47:12,797 - crypto_trading_logger - ERROR - Unexpected Error Updating HA sensor. Check the logs for the exception message. 2021-05-29 12:47:12,797 - crypto_trading_logger - ERROR - Unexpected Error Updating HA sensor. {ex}

and the Supervisor Log says:

21-05-29 11:48:26 WARNING (MainThread) [supervisor.addons.options] Option 'anonymous' does not exist in the schema for Mosquitto broker (core_mosquitto) 21-05-29 11:48:35 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize 21-05-29 11:48:35 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered 21-05-29 11:48:35 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instance 21-05-29 11:48:36 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request running

Is there any parameter that I missed?

miouzikal commented 3 years ago

use the "default" or "multi_coin" strategy instead of the "hassio_default" for now. It's still a work in progress and it's purpose is to update a HA sensor with you current assets / value.

STRATEGY: default