The theme does not change in ios

Sorry, I was looking for information and I couldn’t find, I don’t know if it’s bad English.

I have two automations to change the themes according to whether it is day or night.

- id: 'CAMBIO_THEME_NOC'
  alias: 'CAMBIO THEME NOC'
  description: Cambia automaticamente a modo nocturno.
  trigger:
    platform: sun
      # Valores posibles: sunset, sunrise
    event: sunset
      # 45 min antes de que se ponga el sol porque ya no se ve un carajo...
    offset: "-00:45:00"
  action:
    - service: frontend.set_theme
      data:
        name: Dark - Green- id: 'CAMBIO_THEME_NOC'
  alias: 'CAMBIO THEME NOC'
  description: Cambia automaticamente a modo nocturno.
  trigger:
    platform: sun
      # Valores posibles: sunset, sunrise
    event: sunset
      # 45 min antes de que se ponga el sol porque ya no se ve un carajo...
    offset: "-00:45:00"
  action:
    - service: frontend.set_theme
      data:
        name: Dark - Green

And

- id: 'CAMBIO_THEME_DIA'
  alias: CAMBIO THEME DÍA
  description: Cambia automaticamente a modo diurno.
  trigger:
    platform: sun
      # Valores posibles: sunset, sunrise
    event: sunrise
  action:
    - service: frontend.set_theme
      data:
        name: Dark - Gray

Automation works through the web browser but in the IOS app it does not make any theme changes automatically.

Any solution please.

Go to your profile settings in the app and make sure “backend selected” is set for themes.

1 Like

Thanks this worked for me.

1 Like