Added support for reading sensors from entities defined as specs in YAML