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

Unable to update from sensor: could not convert string to float: 'unknown' #5

Closed
ciumagcatalin opened this issue Jun 4, 2020 · 8 comments

Comments

@ciumagcatalin
Copy link

On Home Assistant Core 0.104 I am getting: Unable to update from sensor: could not convert string to float: 'unknown'.
The setup was working fine on the older HA versions and my setup is:

  • platform: dualmode_generic
    name: Small Bedroom Thermostat
    heater: switch.small_bedroom_heating
    cooler: switch.living_air_conditioner
    target_sensor: sensor.small_bedroom_temperature
    min_temp: 18
    max_temp: 30
    away_temp: 20
    initial_hvac_mode: "heat"
    cold_tolerance: 0.3
    hot_tolerance: 0.1
  • platform: dualmode_generic
    name: Kitchen Thermostat
    heater: switch.kitchen_heating
    cooler: switch.living_air_conditioner
    target_sensor: sensor.living_temperature
    min_temp: 18
    max_temp: 30
    away_temp: 20
    initial_hvac_mode: "heat"
    cold_tolerance: 0.3
    hot_tolerance: 0.1
@ciumagcatalin
Copy link
Author

I think this happen when my homeassistant load first time and the sensors are not populated. I don't get it anymore after some time.

@zacs
Copy link
Owner

zacs commented Jun 4, 2020 via email

@bbbates
Copy link
Contributor

bbbates commented Jun 5, 2020

I suspect this fix (https://github.com/zacs/ha-dualmodegeneric/pull/6/files#diff-f6c9a6f9f4807af09d43c079b5749e5aR214) will solve that issue for you.

@ciumagcatalin
Copy link
Author

I suspect this fix (https://github.com/zacs/ha-dualmodegeneric/pull/6/files#diff-f6c9a6f9f4807af09d43c079b5749e5aR214) will solve that issue for you.

But I got the last version 3 days ago. Maybe I missed smth. Is there anything I can help with?

@bbbates
Copy link
Contributor

bbbates commented Jun 5, 2020

I suspect this fix (https://github.com/zacs/ha-dualmodegeneric/pull/6/files#diff-f6c9a6f9f4807af09d43c079b5749e5aR214) will solve that issue for you.

But I got the last version 3 days ago. Maybe I missed smth. Is there anything I can help with?

I only pushed that PR today and it hasn’t been merged yet 🙂

@bbbates
Copy link
Contributor

bbbates commented Jun 7, 2020

@zacs merged that potential fix in. @ciumagcatalin Can you give it a test with the latest?

@ciumagcatalin
Copy link
Author

@bbbates , it works. I just put it today in and I don't get those messages anymore. Thanks!!

@zacs
Copy link
Owner

zacs commented Jun 15, 2020

Thanks @bbbates for the fix! Fixed in 88a4611.

@zacs zacs closed this as completed Jun 15, 2020
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

3 participants