Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning in filesize sensor. #87192

Closed
edu24x opened this issue Feb 2, 2023 · 2 comments · Fixed by #87247
Closed

Warning in filesize sensor. #87192

edu24x opened this issue Feb 2, 2023 · 2 comments · Fixed by #87247

Comments

@edu24x
Copy link

edu24x commented Feb 2, 2023

The problem

Warning in filesize sensor.

Entity sensor.home_assistant_v2_db_last_updated (<class 'homeassistant.components.filesize.sensor.FilesizeEntity'>) is using state class 'measurement' which is impossible

What version of Home Assistant Core has the issue?

Home Assistant 2023.2.0

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Filesize

Link to integration documentation on our website

https://www.home-assistant.io/integrations/filesize/

Diagnostics information

home-assistant_filesize_2023-02-02T17-22-14.206Z.log

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.components.sensor
Source: components/sensor/__init__.py:503
Integration: Sensor (documentation, issues)
First occurred: 18:08:52 (1 occurrences)
Last logged: 18:08:52
Entity sensor.home_assistant_v2_db_last_updated (<class 'homeassistant.components.filesize.sensor.FilesizeEntity'>) is using state class 'measurement' which is impossible considering device class ('timestamp') it is using; 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+filesize%22

Additional information

No response

@home-assistant
Copy link

home-assistant bot commented Feb 2, 2023

Hey there @gjohansson-ST, mind taking a look at this issue as it has been labeled with an integration (filesize) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of filesize can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Change the title of the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign filesize Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


filesize documentation
filesize source
(message by IssueLinks)

@javiges
Copy link

javiges commented Feb 2, 2023

I have it for integration and it gives me the same error and it does not let me change it.

[homeassistant.components.sensor] Entity sensor.home_assistant_v2_db_last_updated (<class 'homeassistant.components.filesize.sensor.FilesizeEntity'>) is using state class 'measurement' which is impossible considering device class ('timestamp') it is using; 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+filesize%22

@github-actions github-actions bot locked and limited conversation to collaborators Mar 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
2 participants