esphome / issues

Issue Tracker for ESPHome
https://esphome.io/
291 stars 36 forks source link

MCP9808 documentation: [temperature] is an invalid option for [sensor.mcp9808] #1755

Closed tvwerkhoven closed 3 years ago

tvwerkhoven commented 3 years ago

Operating environment/Installation (Hass.io/Docker/pip/etc.):

Built from source

ESP (ESP32/ESP8266, Board/Sonoff):

N/A

ESPHome version (latest production, beta, dev branch)

v1.16.0b2

Affected component:

MCP9808 (no docs since dev branch)

Description of problem: The temperature option listed in the doc raises an error and seems superfluous, as it's a temperature-only sensor (like Dallas)

Problem-relevant YAML-configuration entries:

esphome:
  name: esp_mobile
  platform: ESP8266
  board: d1_mini_pro

wifi:
  redacted

logger:
  baud_rate: 0

api:
  reboot_timeout: 0s

ota:

mqtt:
  redacted

uart:
  - id: myuart0 # SDS pm2.5/pm10
    rx_pin: GPIO3
    tx_pin: GPIO1
    baud_rate: 9600
  - id: myuart1 # MH-z19B CO2
    rx_pin: GPIO12 # GPIO3 = RX hardware
    tx_pin: GPIO13 # GPIO1 = TX hardware
    baud_rate: 9600

i2c:
  sda: 4
  scl: 5
  scan: True

sensor:
  - platform: sds011
    redacted
  - platform: wifi_signal
    redacted
  - platform: uptime
    redacted
  - platform: mhz19
    redacted
  - platform: mcp9808
    temperature:
      name: "MCP Temperature"
    update_interval: 30s
    state_topic: influx/environv3/quantity/T/source/mcp9808/board/esp_mobile/location/home/room/guestoffice/value/state
  - platform: bme280
    redacted

Logs (if applicable):

not applicable

Additional information and things you've tried:

Screenshot 2021-01-11 at 12 28 34
stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.