Création d'une télécommande Freebox

J’essaie ça mais je ne vois pas l’image de fond free.png

        - type: 'custom:button-card'
          template: default
          entity_picture: '/local/lovelace/free.png'
          tap_action:
            action: call-service
            service: freebox_player.remote
            service_data:
              code: home

Et elle est passée où la balise :

show_entity_picture: true

?

Encore trouvé :wave:

A la fin de l’histoire (de ta configuration), je fork ton git et je remplace les entités…

:rofl:

1 « J'aime »

@Clemalex, j’ai encore une question avant la publication de mon code.
J’essaie d’agrandir les icônes dans les boutons, j’ai essayé

button_card_templates:
  default:
    aspect_ratio: 1/1
    styles:
      icon:
        - font-size: 1.5em
      card:
        - size: 100%
        - background-color: '#72685C'

Et ça aussi

button_card_templates:
  default:
    aspect_ratio: 1/1
    styles:
      icon:
        - size: 60%
      card:
        - size: 100%
        - background-color: '#72685C'

Mais sans succès … :thinking:

Bonjour voici le code de ma télécommande freebox ainsi que l’image a coller dans le dossier config/www

elements:
  - icon: ' '
    style:
      left: 76%
      top: 10%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: power
    title: power
    type: icon
  - icon: ' '
    style:
      left: 50%
      top: 68%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: mute
    title: volume mute
    type: icon
  - icon: 'mdi: home'
    style:
      left: 50%
      top: 61%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: home
    title: FreeHome
    type: icon
  - icon: 'mdi: numeric-1'
    style:
      left: 24%
      top: 16%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: '1'
    title: One
    type: icon
  - icon: 'mdi: numeric-2'
    style:
      left: 50%
      top: 16%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: '2'
    title: Two
    type: icon
  - icon: 'mdi: numeric-3'
    style:
      left: 76%
      top: 16%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: '3'
    title: Three
    type: icon
  - icon: 'mdi: numeric-4'
    style:
      left: 24%
      top: 23%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: '4'
    title: Four
    type: icon
  - icon: 'mdi: numeric-5'
    style:
      left: 50%
      top: 23%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: '5'
    title: Five
    type: icon
  - icon: 'mdi: numeric-6'
    style:
      left: 76%
      top: 23%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: '6'
    title: Six
    type: icon
  - icon: 'mdi: numeric-7'
    style:
      left: 24%
      top: 29%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: '7'
    title: Seven
    type: icon
  - icon: 'mdi: numeric-8'
    style:
      left: 50%
      top: 29%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: '8'
    title: Eight
    type: icon
  - icon: 'mdi: numeric-9'
    style:
      left: 76%
      top: 29%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: '9'
    title: Nine
    type: icon
  - icon: 'mdi: numeric-0'
    style:
      left: 50%
      top: 36%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: '0'
    title: Zero
    type: icon
  - icon: 'mdi: volume-minus'
    style:
      left: 24%
      top: 74%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: vol_dec
    title: Vol-
    type: icon
  - icon: 'mdi: volume-plus'
    style:
      left: 24%
      top: 68%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: vol_inc
    title: Vol+
    type: icon
  - icon: 'mdi: backspace-outline'
    style:
      left: 24%
      top: 42%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: red
    title: Red
    type: icon
  - icon: 'mdi: card-search-outline'
    style:
      left: 76%
      top: 42%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: blue
    title: Blue
    type: icon
  - icon: 'mdi: menu-open'
    style:
      left: 24%
      top: 54%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: green
    title: Green
    type: icon
  - icon: 'mdi: information-variant'
    style:
      left: 76%
      top: 54%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: yellow
    title: Yellow
    type: icon
  - icon: 'mdi: pan-up'
    style:
      left: 76%
      top: 68%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: prgm_inc
    title: Prg +
    type: icon
  - icon: 'mdi: pan-down'
    style:
      left: 76%
      top: 73%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: prgm_dec
    title: Prg -
    type: icon
  - icon: 'mdi: checkbox-marked-circle-outline'
    style:
      left: 50%
      top: 48%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: ok
    title: OK
    type: icon
  - icon: 'mdi: arrow-up-bold-outline'
    style:
      left: 50%
      top: 42%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: up
    title: Up
    type: icon
  - icon: 'mdi: arrow-down-bold-outline'
    style:
      left: 50%
      top: 54%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: down
    title: Down
    type: icon
  - icon: 'mdi: arrow-right-bold-outline'
    style:
      left: 76%
      top: 49%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: right
    title: Right
    type: icon
  - icon: 'mdi: arrow-left-bold-outline'
    style:
      left: 24%
      top: 49%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: left
    title: Left
    type: icon
  - icon: 'mdi: record-rec'
    style:
      left: 50%
      top: 74%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: rec
    title: record
    type: icon
  - icon: 'mdi: play-pause'
    style:
      left: 50%
      top: 80%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: play
    title: play/pause
    type: icon
  - icon: 'mdi:skip-backward-outline'
    style:
      left: 24%
      top: 80%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: bwd
    title: backward
    type: icon
  - icon: 'mdi:skip-forward-outline'
    style:
      left: 76%
      top: 80%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: fwd
    title: forward
    type: icon
  - icon: 'mdi:skip-next-outline'
    style:
      left: 76%
      top: 85%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: next
    title: next
    type: icon
  - icon: 'mdi:skip-previous-outline'
    style:
      left: 24%
      top: 85%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: prev
    title: previous
    type: icon
image: /local/freebox-remote.png
type: picture-elements

Bonjour

je suis totalement novice et me lance dans la domotique je me suis orienté vers HA mais j’avoue que j’e suis un peu perdu.
Bref je suis trés intéressé par cette télécommande pur l’inclure dans mon Ha mais je ne sais quoi faire et comment faire,
pourriez vous m’aider svp?
J’ai déjà installé HA sur mon RpI, j’ai déjà fait quelques bricoles comme commander des lampes de chevet avec des ampoules yeelight avec des switchs Ikea mais là quoi faire avec ces lignes de code? ou les mettre comment faire en sorte que ce sois reconnu par mon player Devialet etc… si tant est que cela soit possible.
Merci
Cdlt
Stéph.

Bonjour hcpass,
La télécommande de Sylvain_G sera je pense assez complète mais tarde à venir.

celle de Escaflowne62 est fonctionnelle, pour l’installer tu copie l’image dans le répertoire config/www, si www n’existe pas tu doit le créer. pour le code, sur ton HA tu click en haut sur la droite sur les 3 points tu choisis modifier le tableau de bord, en bas apparaît <+Ajouter une carte>, tu click dessus, dans rechercher une carte tu entre « manuel » et tu click sur <besoin d’ajouter une carte> une entrée 1| type:‹  › apparaît, tu supprime cette entrée et à la place tu colle le code que Escaflowne62 à mis à disposition. tu enregistre puis c’est tout tu auras une télécommande.

pour qu’elle fonctionne tu dois ajouter si ce n’est pas fait dans le fichier de configuration.yaml le code de ta télécommande de free.

freebox_player:
remote_code: CODE_TELECOMMANDE
host: ADRESSE_IP de freePlayer

PS: l’image de la télécommande doit etre enregistrée au format png ‹ freebox-remote.png ›

il y a peut-être plus facile mais j’ai procédé comme explique ci dessus.

bonne utilisation

1 « J'aime »

Bonsoir ablis78

Merci pour ton précieux aide!!
J’ai maintenant une super telco Free opérationnelle pour piloter ma Delta :smiley: :smiley: :+1: :+1:
Un pas de plus dans l’univers HA

Bonne soirée

Cdlt

Stéph

Bonjour,

Savez-vous si quelqu’un a travaillé sur le même genre de chose pour d’autres télécommandes
Je cherche l’équivalent pour Nvidia Shield, Ampli Onkyo et Décodeur HD orange.

Merci
Cdlt

Stéph.

Avec la version 2021.4.3 de HA, j’ai eu ce message d’erreur :

Si ça vous arrive, j’ai corrigé le problème en allant dans le menu latéral HACS puis Intégrations.
Normalement, vous devriez voir que l’intégration Freebox Player est à mettre à jour en version 1.0.5 minimum (c’est la version qui a corrigé mon problème).

Bonjour,

Je recherche un moyen de contrôler mon player pop, mais impossible de récupérer le remote code…
Quelqu’un aurais la solution ?

Merci :slight_smile:

Bonjour,
Je cherche désespérément pour la pop aussi…

Salut,

De ce que j’ai pu constater (chez mon pere) les nouvelles pop n’ont pas de code telecommande. Il doit pouvoir etre possible de la commander comme une boite android meme si je n’y suis pas encore arrivé

Oui, c’est ce que j’ai constaté aussi. Du coup, je l’ai connectée comme une Androidtv, mais visiblement, j’ai des soucis avec l’implémentation ADB et du coup cela ne fonctionne pas…
Je ne lâche pas l’affaire…

Bonsoir,

Super télécommande pour la Freebox révolution, la card sur le home assistant compagnon « fait » petite, je me suis basé sur ton code que j’ai mixé avec du button-card.
Voici le rendu :

Le code :

type: vertical-stack
cards:
  - type: horizontal-stack
    cards:
      - type: button
        tap_action: null
      - type: button
        tap_action: null
      - type: custom:button-card
        color_type: card
        color: '#898672'
        styles:
          icon:
            - color: orange
        tap_action:
          action: call-service
          service: freebox_player.remote
          service_data:
            code: power
        icon: mdi:power
        show_name: false
        icon_height: 50px
  - type: horizontal-stack
    cards:
      - type: custom:button-card
        color_type: card
        color: '#898672'
        icon: mdi:pan-up
        tap_action:
          action: call-service
          service: freebox_player.remote
          service_data:
            code: prgm_inc
        show_name: false
        icon_height: 50px
      - type: custom:button-card
        color_type: card
        color: '#898672'
        tap_action:
          action: call-service
          service: freebox_player.remote
          service_data:
            code: '1'
        show_name: false
        icon_height: 50px
        icon: mdi:numeric-1
      - type: custom:button-card
        color_type: card
        color: '#898672'
        tap_action:
          action: call-service
          service: freebox_player.remote
          service_data:
            code: '2'
        show_name: false
        icon_height: 50px
        icon: mdi:numeric-2
      - type: custom:button-card
        color_type: card
        color: '#898672'
        tap_action:
          action: call-service
          service: freebox_player.remote
          service_data:
            code: '3'
        show_name: false
        icon_height: 50px
        icon: mdi:numeric-3
  - type: horizontal-stack
    cards:
      - type: custom:button-card
        color_type: card
        color: '#898672'
        icon: mdi:pan-down
        tap_action:
          action: call-service
          service: freebox_player.remote
          service_data:
            code: prgm_dec
        show_name: false
        icon_height: 50px
      - type: custom:button-card
        color_type: card
        color: '#898672'
        tap_action:
          action: call-service
          service: freebox_player.remote
          service_data:
            code: '4'
        show_name: false
        icon_height: 50px
        icon: mdi:numeric-4
      - type: custom:button-card
        color_type: card
        color: '#898672'
        tap_action:
          action: call-service
          service: freebox_player.remote
          service_data:
            code: '5'
        show_name: false
        icon_height: 50px
        icon: mdi:numeric-5
      - type: custom:button-card
        color_type: card
        color: '#898672'
        tap_action:
          action: call-service
          service: freebox_player.remote
          service_data:
            code: '6'
        show_name: false
        icon_height: 50px
        icon: mdi:numeric-6
  - type: horizontal-stack
    cards:
      - type: custom:button-card
        color_type: card
        color: '#898672'
        icon: mdi:volume-plus
        tap_action:
          action: call-service
          service: freebox_player.remote
          service_data:
            code: vol_inc
        show_name: false
        icon_height: 50px
      - type: custom:button-card
        color_type: card
        color: '#898672'
        tap_action:
          action: call-service
          service: freebox_player.remote
          service_data:
            code: '7'
        show_name: false
        icon_height: 50px
        icon: mdi:numeric-7
      - type: custom:button-card
        color_type: card
        color: '#898672'
        tap_action:
          action: call-service
          service: freebox_player.remote
          service_data:
            code: '8'
        show_name: false
        icon_height: 50px
        icon: mdi:numeric-8
      - type: custom:button-card
        color_type: card
        color: '#898672'
        tap_action:
          action: call-service
          service: freebox_player.remote
          service_data:
            code: '9'
        show_name: false
        icon_height: 50px
        icon: mdi:numeric-9
  - type: horizontal-stack
    cards:
      - type: custom:button-card
        color_type: card
        color: '#898672'
        icon: mdi:volume-minus
        tap_action:
          action: call-service
          service: freebox_player.remote
          service_data:
            code: vol_dec
        show_name: false
        icon_height: 50px
      - type: custom:button-card
        color_type: card
        color: '#898672'
        tap_action:
          action: call-service
          service: freebox_player.remote
          service_data:
            code: mute
        show_name: false
        icon_height: 50px
        icon: mdi:volume-mute
      - type: custom:button-card
        color_type: card
        color: '#898672'
        tap_action:
          action: call-service
          service: freebox_player.remote
          service_data:
            code: '0'
        show_name: false
        icon_height: 50px
        icon: mdi:numeric-0
      - type: custom:button-card
        color_type: card
        color: '#898672'
        styles:
          icon:
            - color: '#A92123'
        tap_action:
          action: call-service
          service: freebox_player.remote
          service_data:
            code: rec
        show_name: false
        icon_height: 50px
        icon: mdi:record-rec
  - type: horizontal-stack
    cards:
      - type: custom:button-card
        color_type: card
        color: '#898672'
        icon: mdi:backspace-outline
        tap_action:
          action: call-service
          service: freebox_player.remote
          service_data:
            code: red
        show_name: false
        icon_height: 50px
        styles:
          icon:
            - color: white
          card:
            - background-color: '#A92123'
      - type: custom:button-card
        color_type: card
        color: '#898672'
        tap_action:
          action: call-service
          service: freebox_player.remote
          service_data:
            code: up
        show_name: false
        icon_height: 50px
        icon: mdi:arrow-up-bold-outline
      - type: custom:button-card
        color_type: card
        color: '#898672'
        tap_action:
          action: call-service
          service: freebox_player.remote
          service_data:
            code: blue
        show_name: false
        icon_height: 50px
        icon: mdi:card-search-outline
        styles:
          icon:
            - color: white
          card:
            - background-color: '#3F9FD1'
  - type: horizontal-stack
    cards:
      - type: custom:button-card
        color_type: card
        color: '#898672'
        icon: mdi:arrow-left-bold-outline
        tap_action:
          action: call-service
          service: freebox_player.remote
          service_data:
            code: left
        show_name: false
        icon_height: 50px
      - type: custom:button-card
        color_type: card
        color: '#898672'
        tap_action:
          action: call-service
          service: freebox_player.remote
          service_data:
            code: ok
        show_name: false
        icon_height: 50px
        icon: mdi:checkbox-marked-circle-outline
      - type: custom:button-card
        color_type: card
        color: '#898672'
        tap_action:
          action: call-service
          service: freebox_player.remote
          service_data:
            code: right
        show_name: false
        icon_height: 50px
        icon: mdi:arrow-right-bold-outline
  - type: horizontal-stack
    cards:
      - type: custom:button-card
        color_type: card
        color: '#898672'
        icon: mdi:menu-open
        tap_action:
          action: call-service
          service: freebox_player.remote
          service_data:
            code: green
        show_name: false
        icon_height: 50px
        styles:
          icon:
            - color: white
          card:
            - background-color: '#42AF16'
      - type: custom:button-card
        color_type: card
        color: '#898672'
        tap_action:
          action: call-service
          service: freebox_player.remote
          service_data:
            code: down
        show_name: false
        icon_height: 50px
        icon: mdi:arrow-down-bold-outline
      - type: custom:button-card
        color_type: card
        color: '#898672'
        tap_action:
          action: call-service
          service: freebox_player.remote
          service_data:
            code: yellow
        show_name: false
        icon_height: 50px
        icon: mdi:information-variant
        styles:
          icon:
            - color: white
          card:
            - background-color: '#CEC810'
  - type: horizontal-stack
    cards:
      - type: custom:button-card
        color_type: card
        color: '#898672'
        icon: mdi:skip-previous-outline
        tap_action:
          action: call-service
          service: freebox_player.remote
          service_data:
            code: prev
        show_name: false
        icon_height: 50px
        styles:
          card:
            - height: 70px
      - type: custom:button-card
        show_entity_picture: true
        entity_picture: /local/pics/free_logo.png
        color_type: card
        color: '#898672'
        tap_action:
          action: call-service
          service: freebox_player.remote
          service_data:
            code: home
        show_name: false
        icon_height: 50px
        icon: mdi:checkbox-marked-circle-outline
        styles:
          card:
            - height: 70px
            - width: 200px
      - type: custom:button-card
        color_type: card
        color: '#898672'
        tap_action:
          action: call-service
          service: freebox_player.remote
          service_data:
            code: right
        show_name: next
        icon_height: 50px
        icon: mdi:skip-next-outline
        styles:
          card:
            - height: 70px
  - type: horizontal-stack
    cards:
      - type: custom:button-card
        color_type: card
        color: '#898672'
        icon: mdi:skip-backward-outline
        tap_action:
          action: call-service
          service: freebox_player.remote
          service_data:
            code: bwd
        show_name: false
        icon_height: 50px
      - type: custom:button-card
        color_type: card
        color: '#898672'
        tap_action:
          action: call-service
          service: freebox_player.remote
          service_data:
            code: play
        show_name: false
        icon_height: 50px
        icon: mdi:play-pause
      - type: custom:button-card
        color_type: card
        color: '#898672'
        tap_action:
          action: call-service
          service: freebox_player.remote
          service_data:
            code: fwd
        show_name: false
        icon_height: 50px
        icon: mdi:skip-forward-outline

1 « J'aime »

Bonjour.
Je viens de suivre les indications de ablis78 et d’utiliser le code de Escaflowne62 pour la télécommande. Ca fonctionne vraiment nickel.
Merci beaucoup.
Par contre sur le bas j’ai icones « en double » qui s’affiche sur l’image (voir le rond rouge sur l’image).
Est ce que quelqu’un peut m’aider pour les enlever ?

Merci.

Salut

pour pouvoir te répondre il faudrait que tu nous donnes ton code, afin d’essayer d’identifier l’erreur.
On dirait que tu as ajouté des boutons du post d’avant dans ton code

A+ Fred

Bonjour.
J’ai copié intégralement le code Escaflowne62
Le voici :

elements:
  - icon: ' '
    style:
      left: 76%
      top: 10%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: power
    title: power
    type: icon
  - icon: ' '
    style:
      left: 50%
      top: 68%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: mute
    title: volume mute
    type: icon
  - icon: 'mdi: home'
    style:
      left: 50%
      top: 61%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: home
    title: FreeHome
    type: icon
  - icon: 'mdi: numeric-1'
    style:
      left: 24%
      top: 16%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: '1'
    title: One
    type: icon
  - icon: 'mdi: numeric-2'
    style:
      left: 50%
      top: 16%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: '2'
    title: Two
    type: icon
  - icon: 'mdi: numeric-3'
    style:
      left: 76%
      top: 16%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: '3'
    title: Three
    type: icon
  - icon: 'mdi: numeric-4'
    style:
      left: 24%
      top: 23%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: '4'
    title: Four
    type: icon
  - icon: 'mdi: numeric-5'
    style:
      left: 50%
      top: 23%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: '5'
    title: Five
    type: icon
  - icon: 'mdi: numeric-6'
    style:
      left: 76%
      top: 23%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: '6'
    title: Six
    type: icon
  - icon: 'mdi: numeric-7'
    style:
      left: 24%
      top: 29%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: '7'
    title: Seven
    type: icon
  - icon: 'mdi: numeric-8'
    style:
      left: 50%
      top: 29%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: '8'
    title: Eight
    type: icon
  - icon: 'mdi: numeric-9'
    style:
      left: 76%
      top: 29%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: '9'
    title: Nine
    type: icon
  - icon: 'mdi: numeric-0'
    style:
      left: 50%
      top: 36%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: '0'
    title: Zero
    type: icon
  - icon: 'mdi: volume-minus'
    style:
      left: 24%
      top: 74%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: vol_dec
    title: Vol-
    type: icon
  - icon: 'mdi: volume-plus'
    style:
      left: 24%
      top: 68%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: vol_inc
    title: Vol+
    type: icon
  - icon: 'mdi: backspace-outline'
    style:
      left: 24%
      top: 42%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: red
    title: Red
    type: icon
  - icon: 'mdi: card-search-outline'
    style:
      left: 76%
      top: 42%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: blue
    title: Blue
    type: icon
  - icon: 'mdi: menu-open'
    style:
      left: 24%
      top: 54%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: green
    title: Green
    type: icon
  - icon: 'mdi: information-variant'
    style:
      left: 76%
      top: 54%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: yellow
    title: Yellow
    type: icon
  - icon: 'mdi: pan-up'
    style:
      left: 76%
      top: 68%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: prgm_inc
    title: Prg +
    type: icon
  - icon: 'mdi: pan-down'
    style:
      left: 76%
      top: 73%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: prgm_dec
    title: Prg -
    type: icon
  - icon: 'mdi: checkbox-marked-circle-outline'
    style:
      left: 50%
      top: 48%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: ok
    title: OK
    type: icon
  - icon: 'mdi: arrow-up-bold-outline'
    style:
      left: 50%
      top: 42%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: up
    title: Up
    type: icon
  - icon: 'mdi: arrow-down-bold-outline'
    style:
      left: 50%
      top: 54%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: down
    title: Down
    type: icon
  - icon: 'mdi: arrow-right-bold-outline'
    style:
      left: 76%
      top: 49%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: right
    title: Right
    type: icon
  - icon: 'mdi: arrow-left-bold-outline'
    style:
      left: 24%
      top: 49%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: left
    title: Left
    type: icon
  - icon: 'mdi: record-rec'
    style:
      left: 50%
      top: 74%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: rec
    title: record
    type: icon
  - icon: 'mdi: play-pause'
    style:
      left: 50%
      top: 80%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: play
    title: play/pause
    type: icon
  - icon: mdi:skip-backward-outline
    style:
      left: 24%
      top: 80%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: bwd
    title: backward
    type: icon
  - icon: mdi:skip-forward-outline
    style:
      left: 76%
      top: 80%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: fwd
    title: forward
    type: icon
  - icon: mdi:skip-next-outline
    style:
      left: 76%
      top: 85%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: next
    title: next
    type: icon
  - icon: mdi:skip-previous-outline
    style:
      left: 24%
      top: 85%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: prev
    title: previous
    type: icon
image: /local/freebox-remote.png
type: picture-elements

Merci

1 « J'aime »

bon c’est bien ce qu’il me semblait, tu as des lignes en trop.

- icon: mdi:skip-backward-outline
    style:
      left: 24%
      top: 80%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: bwd
    title: backward
    type: icon
  - icon: mdi:skip-forward-outline
    style:
      left: 76%
      top: 80%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: fwd
    title: forward
    type: icon
  - icon: mdi:skip-next-outline
    style:
      left: 76%
      top: 85%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: next
    title: next
    type: icon
  - icon: mdi:skip-previous-outline
    style:
      left: 24%
      top: 85%
    tap_action:
      action: call-service
      service: freebox_player.remote
      service_data:
        code: prev
    title: previous
    type: icon

ces lignes ne proviennent pas de la même télécommande, tu as essayé d’ajouter des boutons provenant du post de Alasta, mais tu auras toujours un problème car dans ta télécommande tout est dessiné dans le background