Sonoff 4 channel pro with HA

Hi .
I’v got nothing with computers, but
I mannge to install HA on raspberry pi 3 b
And flash the 2 Sonoof 4 channel i’v got with tasmota. However
In my frontend in HA i can only see 2 switches , one from eitch sonoff.
another thing is when i push the bottons on the sonoff 4 ch its changes the mans on the 2 switches in the frontend on HA.
I’m busting my had to understand way and cant figuer it out.
Do you guys have any idea way?
Thanks

mqtt:
broker: core-mosquitto

switch:

  • platform: mqtt
    name: “תאורת חוץ הצפה”
    command_topic: “cmnd/sonoff4ch1/power1”
    state_topic: “stat/sonoff4ch1/POWER1”
    qos: 1
    payload_on: “ON”
    payload_off: “OFF”
    retain: true
  • platform: mqtt
    name: “תאורת מדפים”
    command_topic: “cmnd/sonoff4ch1/power2”
    state_topic: “stat/sonoff4ch1/POWER2”
    qos: 1
    payload_on: “ON”
    payload_off: “OFF”
    retain: true
  • platform: mqtt
    name: “תאורת עץ”
    command_topic: “cmnd/sonoff4ch1/power3”
    state_topic: “stat/sonoff4ch1/POWER3”
    qos: 1
    payload_on: “ON”
    payload_off: “OFF”
    retain: true
  • platform: mqtt
    name: “תאורת טלויזיה”
    command_topic: “cmnd/sonoff4ch1/power4”
    state_topic: “stat/sonoff4ch1/POWER4”
    qos: 1
    payload_on: “ON”
    payload_off: “OFF”
    retain: true
  • platform: mqtt
    name: “תאורה שירותים”
    command_topic: “cmnd/sonoff4ch2/power1”
    state_topic: “stat/sonoff4ch2/POWER1”
    qos: 1
    payload_on: “ON”
    payload_off: “OFF”
    retain: true
  • platform: mqtt
    name: “תאורה חוץ מסדרון”
    command_topic: “cmnd/sonoff4ch2/power2”
    state_topic: “stat/sonoff4ch2/POWER2”
    qos: 1
    payload_on: “ON”
    payload_off: “OFF”
    retain: true
  • platform: mqtt
    name: “תאורה חוץ כניסה”
    command_topic: “cmnd/sonoff4ch2/power3”
    state_topic: “stat/sonoff4ch2/POWER3”
    qos: 1
    payload_on: “ON”
    payload_off: “OFF”
    retain: true
  • platform: mqtt
    name: “תאורה שולחן כתיבה”
    command_topic: “cmnd/sonoff4ch2/power4”
    state_topic: “stat/sonoff4ch2/POWER4”
    qos: 1
    payload_on: “ON”
    payload_off: “OFF”
    retain: true

Please correct your post using the </> button, see the instructions at the top of this page (and every forum page)

Also, what does mosquitto_sub tell you?