Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -294,11 +294,6 @@ blueprint:
default: []
selector:
action: {}
slide_face_3:
name: Group 1 actions 🍎 Slide the cube with face 3 up
default: []
selector:
action: {}

side_3_group_1_actions:
name: Side 3 Group 1 actions 🍎
Expand All @@ -308,6 +303,11 @@ blueprint:
These are Group 1 actions that happen with Face 3
of the cube up to start.
input:
slide_face_3:
name: Group 1 actions 🍎 Slide the cube with face 3 up
default: []
selector:
action: {}
doubletap_face_3:
name: Group 1 actions 🍎 Double tap the cube with face 3 up
default: []
Expand Down Expand Up @@ -907,8 +907,11 @@ variables:

# Get the last_side for use in logic below.
last_side: >
{# Check if there is action_from_side data and use that first.#}
{% if trigger.payload_json.action_from_side is number %}
{{ trigger.payload_json.action_from_side | int(0) }}
{# The first time it will not be there, so make sure its 0 instead of undefined. #}
{% if not num_ha_val in ["undefined", "unknown", "unavailable", "none", "null", ""] %}
{% elif not num_ha_val in ["undefined", "unknown", "unavailable", "none", "null", ""] %}
{{ num_ha_val }}
{% else %}
0
Expand Down