We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Operating environment/Installation (Hass.io/Docker/pip/etc.):
Arch Linux, Python 3.9, pip.
ESP (ESP32/ESP8266, Board/Sonoff):
ESP32
ESPHome version (latest production, beta, dev branch)
1.17.0
Affected component:
https://esphome.io/components/sensor/index.html
Description of problem: Setting device_class doesn't work.
device_class
Problem-relevant YAML-configuration entries:
sensor: - platform: template name: $room illuminance state_topic: ${room}/sensor/illuminance device_class: illuminance lambda: 'return id(indoor_illuminance_raw).state;' update_interval: 10s filters: - sliding_window_moving_average: window_size: 6 send_every: 6 send_first_at: 6
Additional information and things you've tried: Icon is also missing. It was there in the previous version.
The text was updated successfully, but these errors were encountered:
mqtt source mqtt issues mqtt recent changes (message by IssueLinks)
Sorry, something went wrong.
Yeah the mqtt integration just hasn't added that feature yet. PRs to add this to MQTTSensorComponent are welcome!
mqtt
MQTTSensorComponent
Fixed
The fix for sensors is working great 🥳 ; just posted a fix for covers in esphome/esphome#2092
Successfully merging a pull request may close this issue.
Operating environment/Installation (Hass.io/Docker/pip/etc.):
Arch Linux, Python 3.9, pip.
ESP (ESP32/ESP8266, Board/Sonoff):
ESP32
ESPHome version (latest production, beta, dev branch)
1.17.0
Affected component:
https://esphome.io/components/sensor/index.html
Description of problem:
Setting
device_class
doesn't work.Problem-relevant YAML-configuration entries:
Additional information and things you've tried:
Icon is also missing. It was there in the previous version.
The text was updated successfully, but these errors were encountered: