How to call a device notification object from makerapi

i can get the call to go through but i dont see a parameter to use for the notification body any suggestions.. thanks

ie https://cloud.hubitat.com/api/some appiid/41/devices/37/deviceNotification&Notification=thisthing&access_token=sometoken

goes through.. here are available options..

[{"name":"Hubitat Smart Alarm Notification Device","label":"test","type":"Hubitat Smart Alarm Notification Device","id":"37","date":"2024-01-05T19:46:48+0000","model":null,"manufacturer":null,"room":null,"capabilities":["Configuration","Notification","Switch"],"attributes":{"device":"None","dataType":"STRING","values":null,"switch":"on","status":"none"},"commands":[{"command":"configure"},{"command":"deviceNotification"},{"command":"off"},{"command":"offPhysical"},{"command":"on"},{"command":"onPhysical"}]}]

got it .. that is what the secondary option value is for.. thanks myself

Please do not make duplicate posts on the same issue.

What you figured out is effectively what I meant in the other topic.

3 Likes