Skip to content

Energy compare does not accept sensor. #2548

@ziat007

Description

@ziat007

Describe the bug
Inputting metric_octopus_import: shows 0 on the compare screen as price.

Expected behaviour
A compare price to be shown

Predbat version

v8.22.2

Environment details
apps.yaml

  compare_list:
    - id: 'current'
      name: 'Current Tariff'
    - id: 'spot'
      name: 'Electree Spot'
      metric_octopus_import: 'sensor.current_buy_electricity_price_raw'
      metric_octopus_export: 'sensor.current_sell_electricity_price_raw'

predbat (7).log

Screenshots

https://i.gyazo.com/1d0219ac79de55909c3f6e36bf50749c.png

Log file
[[Can you capture a log file from the time of the issue, debug mode is not normally required.

You can download the logfile from the WebUI on the Dash tab select predbat_debug.log](https://raw.githubusercontent.com/ziat007/misc/refs/heads/main/predbat%20(7).log)

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions