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

Deprecation warning history component #80024

Closed
erkr opened this issue Oct 10, 2022 · 8 comments
Closed

Deprecation warning history component #80024

erkr opened this issue Oct 10, 2022 · 8 comments

Comments

@erkr
Copy link

erkr commented Oct 10, 2022

The problem

Notes a deprecation warning from the history component

What version of Home Assistant Core has the issue?

Core-2022.10.2

What was the last working version of Home Assistant Core?

Core-2022.9.x

What type of installation are you running?

Home Assistant OS

Integration causing the issue

History

Link to integration documentation on our website

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

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.components.history
Source: components/history/__init__.py:85 
Integration: History (documentation, issues) 
First occurred: 15:41:38 (1 occurrences) 
Last logged: 15:41:38

WS API 'history/statistics_during_period' is deprecated and will be removed in Home Assistant Core 2022.12. Use 'recorder/statistics_during_period' instead

Additional information

No response

@homeassistant
Copy link
Contributor

Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration (history) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)


history documentation
history source
(message by IssueLinks)

@daxy01
Copy link

daxy01 commented Oct 10, 2022

I've got the same and would like to understand what I need to fix ;)

FYI, I've added homeassistant.components.history: debug" to the logger config but nothing is shown.
FYI2, there is no reference to API (e.g. websocket_api) in my configuration.yaml

@erkr
Copy link
Author

erkr commented Oct 11, 2022

I din't see the warning in core2022.10.3 yet?!

@tankdeer
Copy link

I'm still seeing it in 2022.10.3

@zSprawl
Copy link

zSprawl commented Oct 13, 2022

The issue appears 100's of times in my logs per day. I've narrowed it down to Apex Charts when being displayed on a dashboard. I will go open an issue with that integration author.

https://github.com/RomRider/apexcharts-card

@erkr
Copy link
Author

erkr commented Oct 15, 2022

Frequency is much lower for me, but I also still see them in core 2022.10.3

@balloob
Copy link
Member

balloob commented Oct 15, 2022

Nothing in Home Assistant is still using that API. It's a custom card. Probably all using apex charts? That's where you need to go RomRider/apexcharts-card#417

@balloob balloob closed this as completed Oct 15, 2022
@erkr
Copy link
Author

erkr commented Oct 16, 2022

Nothing in Home Assistant is still using that API. It's a custom card. Probably all using apex charts? That's where you need to go RomRider/apexcharts-card#417

No, not using that one. But I will check the ones I'm using

@github-actions github-actions bot locked and limited conversation to collaborators Nov 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants