home-assistant / iOS

:iphone: Home Assistant for Apple platforms
https://companion.home-assistant.io
Other
1.58k stars 306 forks source link

Refusing to update sensor.pedometer_avg_active_pace... but Core uses average_active_pace? #2083

Open baylanger opened 2 years ago

baylanger commented 2 years ago

Hello,

Noticed this in my logs:

2022-02-14 09:52:08 ERROR (MainThread) [homeassistant.components.mobile_app.webhook] Refusing to update ios12 non-registered sensor: <long string>_pedometer_avg_active_pace

Is there inconsistency between iOS and Core? Core uses "average_active_pace", see docs Companion docs core sensors .

Here is one of the many references in the iOS app.

PedometerSensor.swift#77

If I'm totally offtrack, I'd like some explanations. Thanx for this great app and really enjoy being able to control 2 separate HA installations!

zacwest commented 2 years ago

Did this only log once? If you enabled the motion permission after initial device setup, it'll try and update the sensor and discover it isn't yet set up, but once it detects that it will set it up and this won't log again.