-
Notifications
You must be signed in to change notification settings - Fork 343
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
Converter cannot work in the "giot.switch.v83ksm" well #1478
Comments
Looks okay. Did you reboot Hass? |
yes sure. I have tried to reload the Gateway3 integration and reboot Home Assistant, but every time I open the device details, I am always disappointed.😔 |
You can add your changes to target file directly. You importing it in your code. |
I am sorry. What is the "target file"? |
I noticed the 'import' at the beginning of the file. Do I need to install relevant Python libraries to implement Converter? |
I tried to use Converter to customize the switch giot.switch.v52ksm in my hand. As a result, it still doesn't work. It seems that the |
|
I just tried adding a custom Converter in After rebooting, my switch finally displays normally. 🥹 I don't know if the file you mentioned refers to modifying this local file. (Sorry, I am a Github novice and I am still learning to use Github.) |
Oh! I have found the root of all problems. My integration version is 3.3.3 (I don't know why the integration has not been checked for updates). However, I used the new version method of That's why my Now I have reinstalled to the latest version of the integration and written Thank you, AlexxIT! 😀 |
If you write English version for converter - I can add it to all users. |
Very willingly. In addition to the 3-Switch version in my hand, I have also added a Converter to other version switches of this series.
|
I have been using Gateway3 integration all the time, and it has always worked very well.
However, recently I added a new wall switch, and the new switch is not supported in Gateway3 integration.
giot.switch.v83ksm
After I tried to read the wiki and create a new
xiaomi_gateway3.py
file in the same-level directory asconfiguration.yaml
to write my ownConverter
, but no matter how many times I restarted my Home Assistant, nothing changed.There is still only one
Mesh
entity for the switch in the integration.Have I missed something? Thanks for your reply.
The following is my
xiaomi_gateway3.py
:The text was updated successfully, but these errors were encountered: