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

Addidional accessories #72

Open
mkz212 opened this issue Jun 13, 2024 · 0 comments
Open

Addidional accessories #72

mkz212 opened this issue Jun 13, 2024 · 0 comments
Labels
question Further information is requested

Comments

@mkz212
Copy link

mkz212 commented Jun 13, 2024

A really great template and everything is very understandable. I only have two questions:

  1. How to set a different name for an additional accessory?

That way?:

motionSensorOneService.setCharacteristic(this.platform.Characteristic.ConfiguredName, 'name we want');

This causes a warning to be displayed in the logs that this is an optional characteristic but adds it anyway.

  1. Do the name and identifier of this additional accessory have to be unique but only for the main device for which they are added or for the entire plugin?
@mkz212 mkz212 added the question Further information is requested label Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant