home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.54k stars 30.72k forks source link

mitemp_bt not showing battery state anymore/documentation may be wrong? #43589

Closed oneseventhree closed 3 years ago

oneseventhree commented 3 years ago

The problem

mitemp_bt does not show battery anymore BUT still shows temp/humidity using this code in config.yaml and temp/hum and battery worked:

sensor:
  - platform: mitemp_bt

but I saw in the documentation I now need:

sensor:
  - platform: mitemp_bt
    mac: '58:2D:34:39:31:D4'
    monitored_conditions:
      - battery

When I tried this I get the error in Configuration validation:

Invalid config for [sensor.mitemp_bt]: [mac] is an invalid option for [sensor.mitemp_bt]. Check: sensor.mitemp_bt->mac. (See ?, line ?).

Environment

Problem-relevant configuration.yaml

See above

Traceback/Error logs

None showing up

Additional information

probot-home-assistant[bot] commented 3 years ago

mitemp_bt documentation mitemp_bt source (message by IssueLinks)

oneseventhree commented 3 years ago

I found the problem was that I still had the custom component in my custom_components folder