Why isn't a template switch available from AppDaemon?

I have a template switch defined in HA:

switch:
  - platform: template
    switches:
      chambre_1_main:
        friendly_name: "interrupteur principal"
        value_template: "{{ is_state('light.lampe_mur', 'on') and is_state('light.lampe_haute', 'on') and is_state('light.lampe_bureau', 'on') }}"
        turn_on:
          service: light.turn_on
          data:
            entity_id: 
              - light.lampe_mur
              - light.lampe_haute
              - light.lampe_bureau
        turn_off:
          service: light.turn_off
          data:
            entity_id: 
              - light.lampe_mur
              - light.lampe_haute
              - light.lampe_bureau

It appears in the HA interface and works as expected.

I now wanted to access it from AppDaemon (in a place where I have other similar toggles):

self.toggle("switch.chambre_1_main")

but I got an error messages in the logs:

Dec 18 21:00:11 domotique appdaemon[11684]: 2018-12-18 21:00:11.421342 WARNING AppDaemon: RF433ButtonRemote: Entity switch.chambre_1_main not found in AppDaemon

Why is it so?