12-04-2023 07:26 AM
With spoken command to disable alarm, G assistance responds with prompt for security code, code given and alarm is disabled. Perfect! However, if using the text command, in an automation, with code provided in text string, G assistant returns with error that it is unable to complete task. Has anyone found a solution to this issue?
I even went as far as using the console and AI to create automation script but received "unsupported" error when doing disarm - note the scripted "arm" version works.
metadata:
name: Disarm security
description: Disarm the security system at 6am every day
automations:
- starters:
- type: time.schedule
at: 6:00
actions:
- type: device.command.Disarm
devices:
- Home ADT - Dining Room
code: 1234
[ArmDisarm] with [action.devices.types.SECURITYSYSTEM] is currently not supported.
07-22-2024 07:49 AM
Also trying to get some help with this to set up arrive and away arm/disarm when arriving and leaving home. Can anyone help here?
# ------------------------------------------------------------------------------------------ #
# Lines starting with “#” are comments and will be ignored by the automation.
# Indentation determines hierarchy within the script.
# Visit g.co/home/script-editor-docs for full documentation.
# ------------------------------------------------------------------------------------------ #
metadata:
name: Turn off G Unit Home # Choose a short name that summarizes important starters and actions, like “Sunset lights”.
description: Scripted automation # Write a detailed description that includes everything the automation does, like “At sunset, on weekdays, close blinds, turn on lights to 50%, and play the sunset playlist on certain speakers.”
automations:
# “starters” and “actions” are required; “conditions” are optional.
# Use Ctrl + Space to see autocomplete suggestions.
# ---- STARTERS ---- #
# Starters describe events that will start the automation.
# To add more than one starter, duplicate the "- type" section under "starters".
# If you add multiple starter events, any one of them happening will start the automation.
starters:
- type: home.state.HomePresence
state: homePresenceMode
# [available operators: is, isNot]
is: HOME
# ---- ACTIONS ---- #
# Actions will start when a starter event takes place and all conditions are met.
# Actions will start in the order they appear in the script and with any delay specified.
# To add more than one action, duplicate the "- type" section under "actions".
actions:
- type: device.command.ArmDisarm # Set the alarm level of the device. # Set the alarm level of the device. # Set the alarm level of the device.
devices: G Unit - Kitchen
arm: false
armLevel: AWAY
08-18-2024 05:04 AM
I'm also having this issue - it seems that 'arm: true' works fine but 'arm: false' throws an error.