# Cannot read property 'scale' of undefined

**URL:** <https://community.homey.app/t/cannot-read-property-scale-of-undefined/141837>\
**Category:** Questions & Help\
**Tags:** homey-pro\
**Created:** [August 18, 2025, 7:24pm UTC](https://community.homey.app/t/cannot-read-property-scale-of-undefined/141837 "2025-08-18T19:24:24Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Waltherus](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/waltherus/32/132494_2.png) [@Waltherus](https://community.homey.app/u/Waltherus)\
**Post date:** [August 18, 2025, 7:24pm UTC](https://community.homey.app/t/cannot-read-property-scale-of-undefined/141837/1 "2025-08-18T19:24:24Z")

</div>

Hi there!

I’m new to the Homey Community and have bought my first Homey Pro a couple of months ago. It worked just fine until a week ago, when it started to throw errors when I tried to view insight charts.

I have tried re-installing the apps, but to no avail. I also tried searching for it on the forum, but I have not found anything related to it, so I was hoping this post could perhaps help me further.

I’m not too tech savy yet, so there might certainly be something that I’m doing wrong. Do you guys know anything that could perhaps be the issue?

---

<div class="post-metadata">

**Author:** ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)\
**Post date:** [August 18, 2025, 7:30pm UTC](https://community.homey.app/t/cannot-read-property-scale-of-undefined/141837/2 "2025-08-18T19:30:19Z")

</div>

> First of all, welcome to the Homey Community!
> 
> To make sure you are aware of the forum rules, please read the _ **Welcome to the forum!** _ post [here](https://community.homey.app/t/welcome-to-the-forum/31).

---

<div class="post-metadata">

**Author:** ![SunBeech](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sunbeech/32/111391_2.png) [@SunBeech](https://community.homey.app/u/SunBeech)\
**Post date:** [August 18, 2025, 8:18pm UTC](https://community.homey.app/t/cannot-read-property-scale-of-undefined/141837/3 "2025-08-18T20:18:23Z")

</div>

If you remove the insights from a device capability, that is causing this issue, using the following method, does the error also disappear?

> [@\[APP\]\[Pro\] Device Capabilities - Enhance the capabilities of devices](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1815):
>
> You can also remove the obsolete Insight items via the web app. Go to the Insights section; click on the three dots next to the Insight that you want to remove; select Remove (called ‘Verwijderen’ in my Dutch Homey).

Otherwise you might want to reach out to Athom for support, via [Support | Homey](https://homey.app/support/).

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [August 18, 2025, 9:40pm UTC](https://community.homey.app/t/cannot-read-property-scale-of-undefined/141837/4 "2025-08-18T21:40:53Z")

</div>

> [@Waltherus](#):
>
> throw errors

please post the error descriptions you encountered 😉

---

<div class="post-metadata">

**Author:** ![Waltherus](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/waltherus/32/132494_2.png) [@Waltherus](https://community.homey.app/u/Waltherus)\
**Post date:** [August 19, 2025, 6:34am UTC](https://community.homey.app/t/cannot-read-property-scale-of-undefined/141837/5 "2025-08-19T06:34:53Z")

</div>

“Er ging iets fout, probeer het later opnieuw.

TypeError: Cannot read property ‘scale’ of underfined.

in InsightsCapability

in Connect(InsightsCapability)

in withHomey(Connect(InsightsCapability))

in ThemeProvider

in WithThemeDarkComponent

(I already tried changing display theme from ‘Dark’ to either ‘Light’ or ‘System’, but that does not fix anything)

---

<div class="post-metadata">

**Author:** ![Waltherus](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/waltherus/32/132494_2.png) [@Waltherus](https://community.homey.app/u/Waltherus)\
**Post date:** [August 19, 2025, 6:36am UTC](https://community.homey.app/t/cannot-read-property-scale-of-undefined/141837/6 "2025-08-19T06:36:35Z")

</div>

Does this not remove the possibility to access the graphs at a later stage? I’d rather not lose those graphs.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [August 19, 2025, 9:42am UTC](https://community.homey.app/t/cannot-read-property-scale-of-undefined/141837/7 "2025-08-19T09:42:58Z")

</div>

I’d contact support for this homey.app/support.

---

<div class="post-metadata">

**Author:** ![SunBeech](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sunbeech/32/111391_2.png) [@SunBeech](https://community.homey.app/u/SunBeech)\
**Post date:** [August 19, 2025, 4:43pm UTC](https://community.homey.app/t/cannot-read-property-scale-of-undefined/141837/8 "2025-08-19T16:43:24Z")

</div>

That action will remove the history of that specific Insight. The Insight is recreated again (with no historic data) when you restart the app and/or the device starts to provide new data again.

But again, reaching out to Homey Support might be the better option in this case.
