"random" remote_transmitter firing

Hi,

I’ve a d1_mini board that acts as a IR blaster for controlling a LG Air inverter unit (code below). For the last week or so there have been two occurrences where the LG unit has changed its operation (e.g temperature) without me sending any commands through the GUI.

I understand that this is possible if you use the restore_state option when the board toggles/reboots but I only have in my actions for the one/off switch.

Going through the logs/history I cannot see any state changes being sent by esp8266 besides the usual unavailable events that everyone else seems to have.

The only thing the script action does is that it updates a input_helper with the current command for display in lovelace AND sending a notification about state change to the users (for logging…)

ESPHome version: v2021.12.3

Any ideas? I guess it also can be the LG unit doing this but I wanted to check if anyone else is having the same thing happen.

esphome:
  name: ir-lg-controller
  platform: ESP8266
  board: d1_mini

# Enable logging
logger:

remote_transmitter:
  pin: D3
  carrier_duty_percent: 50%

switch:
  - platform: template
    name: "lg-on/off-switch"
    restore_state: yes
    optimistic: true
    turn_on_action:
      - remote_transmitter.transmit_raw:
          code:
            [ 3111, -9679, 504, -1544, ...]
          carrier_frequency: 38kHz
    turn_off_action:
      - remote_transmitter.transmit_raw:
          code:
            [ 3109, -9676, 514, -1540..]
          carrier_frequency: 38kHz

button:
  - platform: template
    name: "temperature-19-cmd"
    on_press:
      - remote_transmitter.transmit_raw:
          code:
            [ 3113, -9672, 515, -1516, 506...]
          carrier_frequency: 38kHz
      - homeassistant.service:
          service: script.update_lg_status
          data:
            status: '19 degrees'

  - platform: template
    name: "temperature-18-cmd"
    on_press:
      - remote_transmitter.transmit_raw:
          code:
            [ 3139, -9667, 466, -1561...]
          carrier_frequency: 38kHz
      - homeassistant.service:
          service: script.update_lg_status
          data:
            status: '18 degrees'