mirror of
https://github.com/esphome/esphome.git
synced 2024-12-25 23:14:54 +01:00
Fix text sensor MQTT settings (#495)
Fixes https://github.com/esphome/issues/issues/170
This commit is contained in:
parent
5859d4b01f
commit
5b0d30bc09
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ def setup_text_sensor_core_(text_sensor_var, config):
|
|||
trigger = Pvariable(conf[CONF_TRIGGER_ID], rhs)
|
||||
automation.build_automations(trigger, [(std_string, 'x')], conf)
|
||||
|
||||
setup_mqtt_component(text_sensor_var.get_mqtt(), config)
|
||||
setup_mqtt_component(text_sensor_var.Pget_mqtt(), config)
|
||||
|
||||
|
||||
def setup_text_sensor(text_sensor_obj, config):
|
||||
|
|
Loading…
Reference in a new issue