Skip to content

Prefix "Room" in drop-down list of Virtual Remote #533

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

Open
benkayuk opened this issue Feb 13, 2025 · 3 comments
Open

Prefix "Room" in drop-down list of Virtual Remote #533

benkayuk opened this issue Feb 13, 2025 · 3 comments

Comments

@benkayuk
Copy link

Describe you new feature you'd like

Would it be possible, to add the designated "Room" to the blind names in the drop-down list when using the Virtual Remote feature?

Otherwise, if you have a repeated blind name "Blind 1", "Blind 2" etc. there is no way to distinguish which is which.

If this list used the room as a prefix, this would, of course, be clear.

@benkayuk
Copy link
Author

The above would also be great, on the names of the blinds within the HA integration!

@alecharp
Copy link

The above would also be great, on the names of the blinds within the HA integration!

Based on https://github.com/rstrouse/ESPSomfy-RTS-HA/blob/a181703bacf8c61f33ede9170ead699a6081df5c/custom_components/espsomfy_rts/controller.py#L732-L738, it's all set in this project.

I'm trying to see if I can see what needs to change to make this happen. But I haven't code in C++ in years..

@alecharp
Copy link

I guess there is something to do with SomfyShade::toJson and SomfyShade::fromJson to use somfy.getRoomById if the room is defined (don't want to include it when using Home).
I wanted to start having a getName rather than using the name field directly. Do that room name and name concatenation there. But I really lack knowledge about C++ to do that correctly.
Maybe @rstrouse you have a better idea?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants