rg-engineering / ioBroker.ebus

reads data from ebusd
MIT License
14 stars 7 forks source link

Log "Warn: ignoring history value 1 (invalid)" when no history values set #58

Closed uneart closed 2 years ago

uneart commented 2 years ago

Describe the bug
When there is no history value set, still the adapter logs warn type messages:

ebus.0 | 2021-10-20 01:54:01.904 | warn | ignoring history value 1 (invalid name)

To Reproduce
Steps to reproduce the behavior:

  1. Go to instance settings
  2. Click on history data points tab
  3. Remove all values
  4. Restart instance
  5. See warning in log

Expected behavior
The warning of invalid history data is only shown if there are data points set and there is a problem when retrieving them. Otherwise there is only a debug type message saying something like "No history data points set. Skipping history data retrieval".

Screenshots & Logfiles
image image

Versions:

uneart commented 2 years ago

@rg-engineering I noticed you already fixed this 👍 Thanks a bunch, this is awesome open source work you're doing here!