{ "semantics": { "actionMappings": [ { "@type": "ActionsToDirective", "actions": [ "Alexa.Actions.Close", "Alexa.Actions.Lower" ], "directive": { "name": "SetRangeValue", "payload": { "rangeValue": 0 } } }, { "@type": "ActionsToDirective", "actions": [ "Alexa.Actions.Open", "Alexa.Actions.Raise" ], "directive": { "name": "SetRangeValue", "payload": { "rangeValue": 100 } } } ], "stateMappings": [ { "@type": "StatesToValue", "states": [ "Alexa.States.Closed" ], "value": 0 }, { "@type": "StatesToRange", "states": [ "Alexa.States.Open" ], "range": { "minimumValue": 1, "maximumValue": 100 } } ] } }