This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.

The Homey Community has been moved to https://community.athom.com.

This forum is now read-only for archive purposes.
Closed

same capability more than once

Hi,

I am just starting with development on Homey. I have a question:


How to use this:

Using the same capability more than once

In certain cases it might occur that a device should use a capability more than once. An example would be a device with an outside and inside temperature sensor. Simply append a dot followed by an identifier after the capability string during in your driver, e.g. measure_temperature.inside & measure_temperature.outside.


Do you need to define this in app.json (and if, how?) or how use this in the driver?

This discussion has been closed.