Enum indicating support IoTRequest fields
This class allows us to extend the request without
requiring that all existing skills are updated to
handle the new fields. Skills will simply not respond
to requests that contain fields they are not aware of.
CommonIoTSkill subclasses should override
CommonIoTSkill.supported_request_version to indicate
their level of support. For backward compatibility,
the default is V1.
Note that this is an attempt to avoid false positive
matches (i.e. prevent skills from reporting that they
can handle a request that contains fields they don't
know anything about). To avoid any possibility of
false negatives, however, skills should always try to
support the latest version.
Version to supported fields (provided only for reference - always use the
latest version available, and account for all fields):
V1 = {'action', 'thing', 'attribute', 'entity', 'scene'}
V2 = V1 | {'value'}
Definition at line 112 of file common_iot_skill.py.