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.
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
nicolewells
Member
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