Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 106113

Cant seem to get a call to script to work

$
0
0
type: custom:vacuum-card
entity: vacuum.robovac
image: default
stats:
  default:
    - attribute: cleaning_area
      unit: sq meters
      subtitle: Cleaning Area
    - attribute: cleaning_time
      value_template: "{{ (value | float(0) / 60) | round(1) }}"
      unit: minutes
      subtitle: Cleaning time
    - attribute: boost_iq
      subtitle: Boost IQ
      value_template: "{% if (value == true) %}On{% else %}Off{% endif %}"
    - attribute: auto_return
      subtitle: Auto Ret
      value_template: "{% if (value == true) %}On{% else %}Off{% endif %}"
    - attribute: do_not_disturb
      subtitle: Dnd
      value_template: "{% if (value == true) %}On{% else %}Off{% endif %}"
shortcuts:
  - name: Dock
    action: script.x8_dock
    icon: mdi:home-map-marker
  - name: Auto Clean
    action: script.x8_autoclean
    icon: mdi:caps-lock
  - name: Boost IQ
    action: script.x8_boostiq
    icon: mdi:bootstrap
  - name: Auto Return
    action: script.x8_autoreturn
    icon: mdi:arrow-u-down-left-bold
  - name: Do Not Disturb
    action: script.x8_donotdisturb
    icon: mdi:volume-off

the problem I am having is I cant seem to get the “shortcuts:” section to call the scripts

can anyone tell me what I am missing please

9 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 106113

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>