Things Network (TTN v3) sensor entity missing

I’m trying to setup the HA integration w/ Things Network v3.

The issue I’m running into is that one of the entities is missing, i.e. door_open (which should be of boolean type).

Here is the decoded payload in TTN:

The value of door_open is always either true or false.
But I don’t see that one in the list of entities in the integration. (I see all the other items though.) So I’m confused as to why it’s not showing up.

I did turn on debug logging for the Things Network integration, and I did find this in the logs:

2025-09-05 18:37:11.949 DEBUG (MainThread) [homeassistant.components.thethingsnetwork.coordinator] fetched data: {'eui-70b3d57ed0068816': {'battery_percentage': TTN_Value(58), 'battery_voltage': TTN_Value(3.78), 'door_open': TTN_Value(False), 'message_counter': TTN_Value(592), 'message_type': TTN_Value(heartbeat), 'temperature': TTN_Value(25)}}

But door_open still does not show up in the entity list. I’m not sure where to go next…

1 Like

Ok after a bit of playing around, this appears to be an issue where boolean sensors are not detected or created by the integration.

I see the integration code handles ttn_client.TTNSensorValue,

but this class only handles types of string, int, or float.

There is a separate ttn_client.TTNBinarySensorValue which handles boolean.

But this does not appear to be handled by the things network integration.
I’m not sure why there is a separate ttn client sensor type.
@angelnu might you have ideas here?
Would you like me to create an issue on the HA core github?

1 Like

Ok, hmm, looks like maybe there was a PR to add support here, but not sure why it never got merged, but closed out?