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

Logging for Not Configured Devices #1780

Closed
cataseven opened this issue Aug 30, 2024 · 6 comments · Fixed by #1816
Closed

Logging for Not Configured Devices #1780

cataseven opened this issue Aug 30, 2024 · 6 comments · Fixed by #1816
Labels
bug Something isn't working

Comments

@cataseven
Copy link

After the latest update I get log for 2 devices which I do not want to configure via Local Tuya. I do not configure them on purpose. No need for devices like that

Logger: custom_components.localtuya.common
Source: custom_components/localtuya/common.py:130
integration: LocalTuya integration (documentation, issues)
First occurred: 22:55:29 (27 occurrences)
Last logged: 22:56:34

Missing device configuration for device_id XXXXXXXXXXXXXX
Missing device configuration for device_id XXXXXXXXXXXXXX

@cataseven cataseven added the bug Something isn't working label Aug 30, 2024
@garry0garry
Copy link

#1773 (comment)

@p0macs
Copy link

p0macs commented Sep 6, 2024

image
I have the same issue and the log is overflooded with message (500000 in one day).
Is it possible somehow to suppress/turn off warning messages?

@MelleD
Copy link

MelleD commented Sep 9, 2024

Could we not log this message on debug level?

@and7ey
Copy link

and7ey commented Oct 4, 2024

I have the same problem.

Believe, the following line should be corrected -
https://github.com/rospogrigio/localtuya/blob/master/custom_components/localtuya/common.py#L130

@0Styless
Copy link

0Styless commented Oct 7, 2024

Same issue here, would be nice to remove this warning or as @MelleD suggested to only log on debug mode.
Has anyone already opened a PR? If not, I will try my luck.

@stanwebber
Copy link

i have 2 ir blasters on my network which aren't supported by local tuya. the amount of device not configured warnings in the logs is insane.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants