mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 03:12:20 +01:00
Null topic_prefix disables MQTT publishing/subscription unless topic is explicitly configured (#5644)
This commit is contained in:
@@ -24,6 +24,13 @@ ethernet:
|
||||
network:
|
||||
enable_ipv6: true
|
||||
|
||||
mqtt:
|
||||
broker: test.mosquitto.org
|
||||
port: 1883
|
||||
discovery: true
|
||||
discovery_prefix: homeassistant
|
||||
topic_prefix:
|
||||
|
||||
api:
|
||||
|
||||
i2c:
|
||||
@@ -32,15 +39,15 @@ i2c:
|
||||
scan: false
|
||||
|
||||
spi:
|
||||
- id: spi_id_1
|
||||
clk_pin: GPIO21
|
||||
mosi_pin: GPIO22
|
||||
miso_pin: GPIO23
|
||||
interface: hardware
|
||||
- id: spi_id_2
|
||||
clk_pin: GPIO32
|
||||
mosi_pin: GPIO33
|
||||
interface: hardware
|
||||
- id: spi_id_1
|
||||
clk_pin: GPIO21
|
||||
mosi_pin: GPIO22
|
||||
miso_pin: GPIO23
|
||||
interface: hardware
|
||||
- id: spi_id_2
|
||||
clk_pin: GPIO32
|
||||
mosi_pin: GPIO33
|
||||
interface: hardware
|
||||
|
||||
uart:
|
||||
- id: uart115200
|
||||
@@ -281,6 +288,7 @@ sensor:
|
||||
id: a01nyub_sensor
|
||||
name: "a01nyub Distance"
|
||||
uart_id: uart9600
|
||||
state_topic: "esphome/sensor/a01nyub_sensor/state"
|
||||
|
||||
#
|
||||
# platform sensor.apds9960 requires component apds9960
|
||||
@@ -764,7 +772,6 @@ speaker:
|
||||
i2s_dout_pin: GPIO25
|
||||
mode: mono
|
||||
|
||||
|
||||
voice_assistant:
|
||||
microphone: mic_id_external
|
||||
speaker: speaker_id
|
||||
|
Reference in New Issue
Block a user