since the thermal task deals (exclusively?) in SensorId, and i would really like to be able to have a refdes to use when making an ereport to say which thing it was that was over it's critical temp. putting a SensorId in an ereport is of course unacceptable since the control plane doesn't really know what they are, and we should not have two different ways to identify devices upstack any more than we already do. also they can change if you reorder stuff in the TOML which would be sad.
therefore we will need to have a thingy that takes a sensor ID and gives a refdes back. codegen will undoubtedly be involved.
since the
thermaltask deals (exclusively?) inSensorId, and i would really like to be able to have a refdes to use when making an ereport to say which thing it was that was over it's critical temp. putting aSensorIdin an ereport is of course unacceptable since the control plane doesn't really know what they are, and we should not have two different ways to identify devices upstack any more than we already do. also they can change if you reorder stuff in the TOML which would be sad.therefore we will need to have a thingy that takes a sensor ID and gives a refdes back. codegen will undoubtedly be involved.