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](https://secure.gravatar.com/avatar/4ee8e2db86709e5cefd2e01dfdf00361/?default=https%3A%2F%2Fvanillicon.com%2F4ee8e2db86709e5cefd2e01dfdf00361_50.png&rating=g&size=50)
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