Replies: 2 comments 1 reply
-
The warning can be ignored if you are not making use of the deprecated entity. There may be a better place to output the warning, so that it is only output when the deprecated entities are enabled. In the current release, it is always output if you are using a device which has deprecated entities. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello Jason, Thanks for your answer. Indeed two warnings a reboot is not a big issue Are there any plans / process to remove these deprecated entities from the device config in your integration ? or a way i could do by myself ? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
i am making reference to this closed point #1842
I get warning that switch entities of one device are deprecated and valve should be used
2024-05-28 11:24:32.093 WARNING (MainThread) [custom_components.tuya_local.helpers.config] The use of switch for Dual water timer is deprecated and should be replaced by valve.
2024-05-28 11:24:32.093 WARNING (MainThread) [custom_components.tuya_local.helpers.config] The use of switch for Dual water timer is deprecated and should be replaced by valve.
I tried as suggested
I updated all automations, actions...
I disabled the switch entities -> still got the same warning
I removed the device and reinstalled it, disabled entities -> did not work
I still have as warning at each reboot:
could it be possible to modify the configuration of this device so that when i reinstall it the switch entity is not created anymore ?
or anything else that could remove this warning ?
Many thanks for your help
Beta Was this translation helpful? Give feedback.
All reactions