Description
The problem
I have an integration with an Eve smart switch which isn't working (the trigger never fires). When I checked the logs, it said:
Entity sensor.eve_energy_20ebu4101_power_2 (<class 'homeassistant.components.matter.sensor.MatterSensor'>) is using native unit of measurement 'mW' which is not a valid unit for the device class ('power') it is using; expected one of ['TW', 'W', 'kW', 'GW', 'MW']; Please update your configuration if your entity is manually configured, otherwise create a bug report at ...
When I look at the visual editor for the automation, it shows "W", so I don't know where the "mW" is coming from.
What version of Home Assistant Core has the issue?
core-2025.3.2
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
I think it's just called "Matter" or "Eve". It's an Eve Energy smart plug.
Link to integration documentation on our website
https://www.home-assistant.io/integrations/eve/
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Entity sensor.eve_energy_20ebu4101_power_2 (<class 'homeassistant.components.matter.sensor.MatterSensor'>) is using native unit of measurement 'mW' which is not a valid unit for the device class ('power') it is using; expected one of ['TW', 'W', 'kW', 'GW', 'MW']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+matter%22
Additional information
No response