Write code directly?

No.

However, there are methods not supported by Hubitat staff that permit the creation of automations using a GUI.

One such example is Node-RED.

Here's an example of a simple automation in Node-RED that uses the status of a contact sensor on the attic door to control the attic light switch.

Untitled

4 Likes