presence: Add parser support for any of

Add support for the anyof yaml keyword.

Change-Id: Ib28ca8ef9959cec29cb2d15a0bf758668375895f
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/presence/templates/anyof.mako.hpp b/presence/templates/anyof.mako.hpp
new file mode 100644
index 0000000..cc0ca09
--- /dev/null
+++ b/presence/templates/anyof.mako.hpp
@@ -0,0 +1,7 @@
+std::make_unique<AnyOf>(
+${indent(1)}ConfigFans::get()[${f.fan}],
+${indent(1)}std::vector<std::reference_wrapper<PresenceSensor>>{
+% for s in f.sensors:
+${indent(2)}*ConfigSensors::get()[${s}],
+% endfor
+${indent(1)}})\