Help adapt code to "The 'push' option near /config/configuration.yaml:30 is deprecated, please remove it from your configuration"

Hello to everyone :smiley:
I need some help for converting my actual configuration to new standard.

ios:
  push:
    categories:
      - name: AlarmCamera
        identifier: 'camera'
        actions:
          - identifier: 'SILENCE_ALARM'
            title: 'Disattiva Allarme'
            activationMode: 'background'
            authenticationRequired: true
            destructive: true
            behavior: 'default'
      - name: AlarmCameraBattery
        identifier: 'camera2'
        actions:
          - identifier: 'TRIGGER'
            title: 'Attiva Sirene'
            activationMode: 'background'
            authenticationRequired: false
            destructive: true
            behavior: 'default'
      - name: AlarmCameraManualDisarm
        identifier: 'camera1'
        actions:
          - identifier: 'TOTALE'
            title: 'Allarme Totale'
            activationMode: 'background'
            authenticationRequired: false
            destructive: false
            behavior: 'default'
          - identifier: 'PARZIALE'
            title: 'Allarme Parziale'
            activationMode: 'background'
            authenticationRequired: false
            destructive: false
            behavior: 'default'
          - identifier: 'NOTTURNO'
            title: 'Allarme Notturno'
            activationMode: 'background'
            authenticationRequired: false
            destructive: false
            behavior: 'default'
          - identifier: 'TRIGGER'
            title: 'Attiva Sirene'
            activationMode: 'background'
            authenticationRequired: false
            destructive: true
            behavior: 'default'
      - name: DisableAlarm
        identifier: 'disablealarm'
        actions:
          - identifier: 'TOTALE'
            title: 'Allarme Totale'
            activationMode: 'background'
            authenticationRequired: false
            destructive: false
            behavior: 'default'
          - identifier: 'PARZIALE'
            title: 'Allarme Parziale'
            activationMode: 'background'
            authenticationRequired: false
            destructive: false
            behavior: 'default'
          - identifier: 'NOTTURNO'
            title: 'Allarme Notturno'
            activationMode: 'background'
            authenticationRequired: false
            destructive: false
            behavior: 'default'
          - identifier: 'SILENCE_ALARM'
            title: 'Disattiva Allarme'
            activationMode: 'background'
            authenticationRequired: true
            destructive: true
            behavior: 'default'
      - name: Disattiva_Pompa
        identifier: 'disattiva_pompa'
        actions:
          - identifier: 'disattivapompa'
            title: 'Disattiva Pompa'
            icon: "sfsymbols:drop.triangle"
            activationMode: 'background'
            authenticationRequired: false
            destructive: false
            behavior: 'default'

Thanks a lot
Stefano

1 Like

Hi Stefano,

I ran into the same issue and was able to resolve it using this migration guide:

Aaron

1 Like

Thanks a lot
when i have some time i will try to read and fix this :smiley:
Stefano

Hi

Please can you share your solutions ?!

Mattias

I have used message according to:

ios:
push:
categories:
- name: camera
identifier: ‘camera’
actions:
- identifier: ‘SENDSTILLANDCLIP’
title: ‘Send still and video clip’
authenticationRequired: false

What should it look like without Push?