pnbruckner/ha-composite-tracker

Adding entities to setup crashes integration

Closed this issue · 2 comments

When I add my entities to the tracker, it gives me this error:

Screenshot_21-7-2024_162855_homeassistant local
Screenshot_21-7-2024_162935_homeassistant local

@Bosty01, sorry it's taken so long to respond.

Per the documentation:

Currently any entity that has "GPS" attributes (gps_accuracy or acc, and either latitude & longitude or lat & lon), or any device_tracker entity with a source_type attribute of bluetooth, bluetooth_le, gps or router, or any binary_sensor entity, can be used as an input entity.

I'm guessing you manually typed in sensor.brett_iphone_2_battery_level and sensor.brett_iphone_2_battery_state, but those are not supported.

I'm wondering, why did you want to include those as inputs?

@Bosty01, sorry it's taken so long to respond.

Per the documentation:

Currently any entity that has "GPS" attributes (gps_accuracy or acc, and either latitude & longitude or lat & lon), or any device_tracker entity with a source_type attribute of bluetooth, bluetooth_le, gps or router, or any binary_sensor entity, can be used as an input entity.

I'm guessing you manually typed in sensor.brett_iphone_2_battery_level and sensor.brett_iphone_2_battery_state, but those are not supported.

I'm wondering, why did you want to include those as inputs?

I should have marked this closed. I did remove them and it fixed the error. The integration works great.