You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To Reproduce
Steps to reproduce the behavior:
Notification definition: actions.NotificationAction.sendNotification("[email protected]", "ALERT: This is a test.", "motion", "HVAC", "Im Really Hot!!!", "msg-alert-its_hot", "ui:/basicui/app?w=0000&sitemap=Crib", null, "OpenHAB=ui:/basicui/app?sitemap=Crib", "CoolTheHouse=rule:NotificationTest:prop1=OFF", "Cool The House=command:Test_Switch_1:ON");
This action button CoolTheHouse=rule:NotificationTest:prop1=OFF is meant to trigger rule with ID "NotificationTest" but does not. The rule is a simple rule which for testing purposes contains a line of logging to indicate when it is triggered:
New bug checklist
Describe the bug
As per https://community.openhab.org/t/ios-notifications-with-openhab-cloud-connector/159490
Selecting the action button which is configured to run a rule does not trigger the rule as expected
To Reproduce
Steps to reproduce the behavior:
Notification definition:
actions.NotificationAction.sendNotification("[email protected]", "ALERT: This is a test.", "motion", "HVAC", "Im Really Hot!!!", "msg-alert-its_hot", "ui:/basicui/app?w=0000&sitemap=Crib", null, "OpenHAB=ui:/basicui/app?sitemap=Crib", "CoolTheHouse=rule:NotificationTest:prop1=OFF", "Cool The House=command:Test_Switch_1:ON");
This action button
CoolTheHouse=rule:NotificationTest:prop1=OFF
is meant to trigger rule with ID "NotificationTest" but does not. The rule is a simple rule which for testing purposes contains a line of logging to indicate when it is triggered:rules.JSRule({ name: "NotificationTest", description: "NotificationTest", tags: ["TEST1", "TEST2"], id: "NotificationTest", triggers: [triggers.ItemCommandTrigger("Test_Switch_1")], execute: (event) => { console.log ("**** NotificationTest successful"); } });
Expected behavior
Trigger rule as specified in the docs
Screenshots
If applicable, add screenshots to help explain your problem.
App (please complete the following information):
Smartphone (please complete the following information):
openHAB (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: