Skip to content
New issue

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

Sensors #55

Closed
Ceylan-Geysemans opened this issue Mar 23, 2021 · 2 comments
Closed

Sensors #55

Ceylan-Geysemans opened this issue Mar 23, 2021 · 2 comments

Comments

@Ceylan-Geysemans
Copy link

Ceylan-Geysemans commented Mar 23, 2021

Hey,

Why is it that i cannot give my InfoOnlyAnalog sensors an InfoOnlyDigital sensors a device_class in the config.yaml file?
I would lik to see my sensors in homekit but without proper configuration they won't pop up in homekit, the temperature sensors are the only ones that work but I have humidity sensor and door contacts where I cannot get the feedback from to homekit.
Is there a work around for this?
Thanks in advance and keep up the good work!

sensor:
  - platform: loxone
    name: "Temprature bureau"
    uuidAction: "13355200-01e4-17cd-ffff1ba65e9e54c4"
    unit_of_measurement: "°C"
  - platform: loxone
    name: "Temprature slaapkamer Ceylan"
    uuidAction: "13363370-0330-e7f1-ffff1ba65e9e54c4"
    unit_of_measurement: "°C"
  - platform: loxone
    name: "Humidity slaapkamer Ceylan"
    device_class: humidity
    uuidAction: "13363370-0330-e7f5-ffff1ba65e9e54c4"
    unit_of_measurement: "%"
  - platform: loxone
    name: "Door sensor contact garage"
    device_class: door
    uuidAction: "132c213e-01de-9686-ffff1ba65e9e54c4"
@JoDehli
Copy link
Owner

JoDehli commented Mar 24, 2021

@Ceylan-Geysemans I had never the requirement to change that. So I did not implement it. Please try the dev branch
with additional device_class in the yaml for example:

sensor:
  - platform: loxone
    name: "Temprature bureau"
    uuidAction: "13355200-01e4-17cd-ffff1ba65e9e54c4"
    unit_of_measurement: "°C"
    device_class: "temperature"

You must use the correct device class from homeassistant.

@JoDehli
Copy link
Owner

JoDehli commented Mar 26, 2021

@Ceylan-Geysemans can I close the issue? Did it work?

@JoDehli JoDehli closed this as completed Mar 30, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants