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

My RaptPil integration doesnt work anymore? #3

Open
gkrallo opened this issue Feb 25, 2024 · 1 comment
Open

My RaptPil integration doesnt work anymore? #3

gkrallo opened this issue Feb 25, 2024 · 1 comment

Comments

@gkrallo
Copy link

gkrallo commented Feb 25, 2024

I havent used it since in december2023 then it worked.
It is showing up in https://app.rapt.io/ so it is online

HomeAssistant is running latest version 2024.2.3

Misslyckades med att anropa tjänsten script/starta_jasning. Error rendering data template: ValueError: Template error: float got invalid input 'unavailable' when rendering template '{{ states( 'sensor.rapt_pill_gravity' ) | float }}' but no default was specified

any idea ? or what kind of debug is need to find out?

@hofst01
Copy link

hofst01 commented Mar 13, 2024

I was trying to get this package working.
But I get the same Error as mentioned above by gkrallo.

"TemplateError('ValueError: Template error: float got invalid input 'None' when rendering template '{% if state_attr( 'sensor.rapt_pill_telemetry', 'gravity' ) | float > 0 %} {{ state_attr( 'sensor.rapt_pill_telemetry', 'gravity' ) | float / 1000 }} {% else %} {{ 'Unknown' }} {% endif %}' but no default was specified') while processing template 'Template<template=({% if state_attr( 'sensor.rapt_pill_telemetry', 'gravity' ) | float > 0 %} {{ state_attr( 'sensor.rapt_pill_telemetry', 'gravity' ) | float / 1000 }} {% else %} {{ 'Unknown' }} {% endif %}) renders=4>' for attribute '_attr_native_value' in entity 'sensor.rapt_pill_gravity"

Can you investigate this?
I cannot wurk with the Bluetooth version because i'm miles away from the RAPT pill.
So I would like to use the Wifi.

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