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 for beta 113.0b0 and RFXTRX #37916
Comments
Updated documentation is here https://rc.home-assistant.io/integrations/rfxtrx/ until 113.0 is out. |
Yes Ihave read the new documentation but it says nothing about how to transfer your current configuration into the new way of working ? You have to be a pro and edit the configuration manually in .storage to at least get something to work. |
Make sure to check the breaking change in the beta release notes. This integration is now setup via the integration screen. Doesn't seem like you can import the yaml you just set it up there. |
Hey there @Danielhiversen, @elupus, mind taking a look at this issue as its been labeled with an integration ( |
To transfer you mainly need to move your config to the rfxtrx key rather than per platform. Once that is done, all your dummy devices should show up. There may be changed entity names. But you can now change entity name from GUI. So you should be able to assign the names you had before. |
You can only import config. You can't set it up from integration screen yet. |
I suppose it might be somewhat hard to understand which device is which if you have many. PS. Do friendly name rename on device level instead of entity since there are now going to be multiple entities per device. Then it will rename all entities related to that device. |
I still believe that someone that understands all this changes has to write a some sort of migration guide. Example.
|
Copied from above linked doc. The config have not changed much... New config:
Old config:
|
Tried to copy your config but it does not work so I must be doing something wrong ? rfxtrx: Invalid config for [rfxtrx]: expected a dictionary for dictionary value @ data['rfxtrx']['devices']['0b11000f10e9e5660b010f70']. Got None. (See /config/configuration.yaml, line 199). |
Oh crap. There is a commit missing in rc. You need a key under the decice.
|
Thanks elupus. |
You edit the name from GUI. I suggest you go to the devices page under settings and rename the whole device rather than renaming individual entities. Once that is done you can also rename the entity id to what you had before. |
You did adjust the event data with what you had before right? I just posted an example code. |
Yes I changed it, did not have any event data before, I will follow your instructions and hopefully it will work with Google Assistant also. Should I keep the configuration in configuration.yaml when I'm ready and the config is in the registry ? |
Another question, if I need to delete a device, do I have tho remove the whole integration and start all this work from the beginning ? |
Devices don't seem to be possible to delete. But once automatic_add is off, you can delete all entities linked to the device. |
This page helps eronmous. my config is:
but i got: |
Make sure you add, You are also missing colons after each device. |
Up and running after many hours of trial and error so I'm closing this. |
Hello, |
You rename from GUI. So sure some detective work may be needed. |
If you install the beta you will get two messages in the log that says that you should remove RFXTRX from your sensors and switches configuration because it's not supported any more.
If you follow that recommendation and remove it you will end up with a configuration that is a big catastrophe for your setup.
All your automations, scripts and Lovelace configurations depending on RFXTRX will stop working because the device/entities names changes and how do I handle dummy RFXTRX devices used in my automations.
There are no instructions that i was able to find on how to migrate my current setup to the new way of working with RFXTRX.
New devices, new entities that does not give any clue or mappings to my running setup?
I'm aware that it is a beta but where are the backward compability?
I have probably missed something so please enlighten me and point me to the documentation on how to migrate my large RFXTRX setup with all my automations depending on RFXTRX sensors/switches and dummy devices.
The text was updated successfully, but these errors were encountered: