Get attribute as sensor, never seen this 'syntaxe'

Hi,

I have a Somfy awning, successfully integrated in HA.

I want to create sensor based on attribute, but i block on the ‘core’ one…

My code :

The attribute :

Any help will be appreciated ! Thanks !

ok my bad, for anyone with the same problem :slight_smile:

get attention to the fuc** CASE !!!

i don’t know why but the copy paste change me the “core” by “Core”