1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 03:12:20 +01:00

Correctly allow mqtt topics to be none so ESPHome does not sub/pub to them (#5213)

This commit is contained in:
Jesse Hills
2023-10-26 13:37:50 +13:00
committed by GitHub
parent 4774200f6b
commit 8b9a7608f0
4 changed files with 30 additions and 8 deletions

View File

@@ -64,6 +64,7 @@ mqtt:
discovery: true
discovery_prefix: homeassistant
idf_send_async: false
log_topic:
on_message:
topic: testing/sensor/testing_sensor/state
qos: 0
@@ -403,6 +404,7 @@ sensor:
update_interval: 1s
- platform: internal_temperature
name: Internal Temperature
state_topic:
- platform: selec_meter
total_active_energy:
name: SelecEM2M Total Active Energy