NodeMCU V3 with 2 different sensors possible with ESPHOME?

hi i have running 2 sensors in ESPHOME, one for my smart power meter and anotherone for my gas consumption. Both sensors use a NodeMCU V3 ESP8266. Is it possible to put both sensors together and use only one NodeMCU? Here is my config for the smartmeter

uart:
id: uart_bus
rx_pin: GPIO3
baud_rate: 9600
data_bits: 7
parity: ODD
debug:

and the following one is from my gas consumption:

binary_sensor:

  • platform: gpio
    id: internal_pulse_counter
    pin:
    number: GPIO5
    mode: INPUT_PULLUP
    name: “gas_live_impuls”
    filters:
    • delayed_on: 10ms
      on_press:
      then:
      • lambda: id(total_pulses) += 1;

Both sensors are conneccted to VIN and GND. Do i have to solder the cables together or can one sensors use VIN and GND on the left side and the other one uses the 3.3V and GND pins on the other side?