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.
FAQ

Add support for path variables in json config

nicolewellsnicolewells Member
edited March 2018 in Questions & Help
Hello All,

For instance when you always put the device image in drivers/{{device_id}}/assets/images/large.jpg you can then specify this path in a driver template.

Possible variables are:
driver_id
driver_name
driver_path
pair_template_path(templateId) // this one could be more complex but could be used to reference assets in the driver.pairOptions field.

help me out!

Thanks

Tagged:

Comments

Sign In or Register to comment.