name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''
Describe the bug
2024-01-21 13:12:17.417 WARNING (MainThread) [homeassistant.const] POWER_WATT was used from currentcost, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPower.WATT instead, please create a bug report at https://github.com/lolouk44/CurrentCost_HA_CC/issues
To Reproduce
restart HA - warning from the core relating to this.
Expected behaviour
no warning on startup
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop/Server/Device (please complete the following information):
- Device used to run the Custom Component [e.g. Raspberry Pi, NUC]
- Method of installation [e.g. via HACS or manual]
- Version of the Custom Component installed?
- Model of the Current Cost Device
Additional context
Add any other context about the problem here.
Logs
Please set the Current Cost Custom Component's logging level to debug and provide relevant logs section from Home-Assistant.
To Enable debug logging level, add this to your configuration.yaml and restart:
logger:
default: error
logs:
custom_components.currentcost: debug
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''
Describe the bug
2024-01-21 13:12:17.417 WARNING (MainThread) [homeassistant.const] POWER_WATT was used from currentcost, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPower.WATT instead, please create a bug report at https://github.com/lolouk44/CurrentCost_HA_CC/issues
To Reproduce
restart HA - warning from the core relating to this.
Expected behaviour
no warning on startup
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop/Server/Device (please complete the following information):
Additional context
Add any other context about the problem here.
Logs
Please set the Current Cost Custom Component's logging level to debug and provide relevant logs section from Home-Assistant.
To Enable debug logging level, add this to your configuration.yaml and restart: