Advertisement
JLindvig

Printer trigger template

Mar 18th, 2021
990
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.52 KB | None | 0 0
  1. alias: Advisering -  Blækniveau < 15 - notify CS  (test)
  2. description: ''
  3. trigger:
  4.   - platform: numeric_state
  5.     entity_id:
  6.      - sensor.brother_mfc_j4620dw_c
  7.       - sensor.brother_mfc_j4620dw_y
  8.       - sensor.brother_mfc_j4620dw_m
  9.       - sensor.brother_mfc_j4620dw_bk
  10.     below: '15'
  11. condition: []
  12. action:
  13.   - service: notify.mobile_app_cs_mobil
  14.     data:
  15.       title: Lavt blækniveau
  16.       message: >
  17.        Printeren er ved at løbe tør for {{ state_attr(trigger.entity_id, 'friendly_name') }}
  18. mode: single
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement