Home Assistant Link Binding

As we know, Home Assistant has a huge ecosystem of integrations — far more than openHAB currently supports. Many of us quietly run HA alongside openHAB just to fill those gaps.

So I wrote a new binding: Home Assistant Link (HassLink).

I’m looking for people who already use Home Assistant to augment openHAB’s device support and would like to help test this binding, try it with real setups, and report any issues or edge cases.

Plan:
Once this is somewhat stable, I plan to submit it to the openhab project to become an official addon

Status:
Discovery works, updates flow, commands round‑trip, and most entity types are supported.

But I don’t have a lot of devices on my Home Assistant instance, so my testing has been limited. So far I have tested:

  • Navimow HA integration — the HA integration shows the map image!
  • Bambulab Integration with P1S — toggle chamber light, see status, see camera
  • Mammotion Mower integration

I’m specifically looking for people who have more diverse HA setups and can help validate the binding across a wider range of integrations and entity types.

UPDATE: This is now available in 5.3.0.M4

Right now I use the matterbridge HA plug-in and the OH matter binding to link HA entities to OH. A more native and direct approach is exciting. I should have some time to test this in the next week.

I’ll let you know.

Posted v0.0.2 (link in the original post).

  • Updated the README especially the section on Light Entity channel scheme / handling
  • Improvements on handler initialization, channel creation / delta handling.
  • Consolidate subscribe/unsubscribe commands

Possible future improvements - primarily cosmetic:

  • Mark some channels advanced
  • Look into adding unitHint
  • Review / add Channel and Thing semantic tags as appropriate

I also use Matterbridge, as well as HTTP binding and Webhooks. This binding seems really interesting. HA Integrations tested and working below. Most of these are just reading sensors and status updates, so mostly one way. But tested some switches in Fully Kiosk and they worked fine.

  • Fully Kiosk Browser
  • GE Home (SmartHQ) - HACS
  • Ecowitt
  • SleepIQ
  • Internet Printing Protocol (IPP)
  • Tesla Custom Integration - HACS

v0.0.4 is available

  • Improve representationProperty so that manually configured Bridges/Things do not show up in Inbox.
  • Add Bridge Actions (callService, pressButton, runScript, activateScene)
  • See the updated README

I have OH (5.2.1) and HA (2026.9.2) both running in containers and your binding loaded.

WOW, 208 entries newly discovered…

What type of specific feedback would you need?

  • Whether everything “works” as expected
  • Any questions / suggestions / comments on any aspect

Right now I am contemplating changing the channel name for the sensor attributes. At the moment they are all prefixed with #attr_XXXX - I want to remove the attr_ prefix.

The channel naming change will be a “breaking” change, hopefully not much of an inconvenience.

This is your Inbox entries? Nice! I only have < 20.

Is it discovering anything that shouldn’t be discovered?

I see…

on first glance it also brings in all HA automations. I don’t think it should.

It also fills in OH log with the discovered entities on every update, for example, on each weather update in HA. I don’t think its necessary… I did not try to see what if I ignore the weather entities, will it re-discover them…

v 0.0.5 is now available.

  • Better channel label inference. Getting this done right is important in getting the automatic “Add Points” to generate nice item names.
  • Removed attr_ prefix previously set on sensor attributes. After further consideration, adding the prefix is unnecessary and only serves as added noise.

Can you provide more details on what “HA automations” are and what the entity ids are?

Please also provide more details on this. Could you paste the relevant logs?

automation example discovered entity:

Thing hasslink:device:95310226105346e69d65d653f1ccc4cf:automation_led_strip_test (hasslink:server:95310226105346e69d65d653f1ccc4cf) [entityIds="automation.led_strip_test"]

For the “rediscovered” entities, what kind of log, all entities are being re-discovered and show up in the log again with the same: Discovery Result UID

first they all get removed:

openhab.event.InboxRemovedEvent

then added again:

openhab.event.InboxAddedEvent 
discovery.internal.PersistentInbox

Thanks! I wasn’t aware of this entity type, so they are currently supported under “GenericType”, I’m curious to see the channels (thing YAML Definition) of this Thing.

I think they should be included and can be quite useful. It would allow openhab to trigger them manually, and also get notifications (channel trigger) in openhab when the HA automations run.

How many of such automation entities / Things are discovered on your system?

Thanks, I will fix this.

version: 1
things:
  hasslink:device:95310226105346e69d65d653f1ccc4cf:automation_led_strip_test:
    bridge: hasslink:server:95310226105346e69d65d653f1ccc4cf
    label: Leds Boiler Temperature start
    config:
      entityIds:
        - automation.led_strip_test
    channels:
      automation-led_strip_test:
        type: switch
        label: (Automation)
        config:
          entityId: automation.led_strip_test
          autoCreated: true
      automation-led_strip_test#attr_mode:
        type: string
        label: Attr Mode
        config:
          entityId: automation.led_strip_test
          attribute: attr_mode
          autoCreated: true
      automation-led_strip_test#attr_last_triggered:
        type: string
        label: Attr Last Triggered
        config:
          entityId: automation.led_strip_test
          attribute: attr_last_triggered
          autoCreated: true
      automation-led_strip_test#attr_current:
        type: number
        label: Attr Current
        config:
          entityId: automation.led_strip_test
          attribute: attr_current
          autoCreated: true
      automation-led_strip_test#attr_id:
        type: string
        label: Attr Id
        config:
          entityId: automation.led_strip_test
          attribute: attr_id
          autoCreated: true

How many of such automation entities / Things are discovered on your system?

All my automations from HA are discovered.

Also discovered are all:

HA Groups of devices

HA Scrips

Thing hasslink:device:95310226105346e69d65d653f1ccc4cf:script_basement_tv_power (hasslink:server:95310226105346e69d65d653f1ccc4cf) [entityIds="script.basement_tv_power"]

HA Helpers (like device types changes and input types)

and Persons

Thing hasslink:device:95310226105346e69d65d653f1ccc4cf:person_my_name (hasslink:server:95310226105346e69d65d653f1ccc4cf) [entityIds="person.my_name"]

@Gargam3L0 thanks for your feedback, they’ve been very useful.

I’ve uploaded v0.0.6 which addressed the following:

  • Fix repeating inbox removal / additions log messages
  • Filter out system and helper domains from auto-discovery
  • Infer datetime attributes based on common datetime naming patterns - for Sensor entities

The download link is at the bottom of the original post.

You might have to delete all inbox entries to clean it up.

Thank you.

I updated to v0.0.6 and will provide additional feedback if something looks odd.

I’ve just done some very basic install and config so far, but already this is an excellent binding and I’m going to swap out several of the devices I have connected through matterbridge because it has a significant advantage over the matter connection: it is not limited by matter endpoint types.

Quick thoughts after initial testing:

  1. I’ve got three devices in HA with door sensors. These currently come up as switch channels but would be more accurate as contact channels.


    image
    Yes, it’s a pretty simple matter to link a contact to a switch channel (although since 5.0, I think, that has required a transform profile) but it’s not quite as beginner friendly.

  2. One of the features of the matterbridge HA plugin that is most brilliant, as far as I’m concerned, is robust filtering of all the HA bits, especially the ability to set up import whitelists based on HA labels (tags). This works at the device and entity level. For example, I don’t need all 70+ entities from my 3D printer to become channels, so I can just add an OH label to the 6 entities I need and my printer thing only has those 6 channels.

Here’s an issue I’ve uncovered:

My 3D printer has at least a few channels that do not update properly. I’ve got a print running right now. Trace logs show that OH is properly receiving the updates to various print related channels:

2026-09-20 11:02:21.247 [TRACE] [nal.api.HomeAssistantWebSocketClient] - RECV | {"type":"event","event":{"c":{"sensor.flashforge_print_progress":{"+":{"s":"25.4","lc":1789927341.2429461,"c":"01M2ZZQF5TYRFFCN2M7DPN8SNT"}}}},"id":25}
2026-09-20 11:02:21.248 [TRACE] [nal.api.HomeAssistantWebSocketClient] - RECV | {"type":"event","event":{"c":{"sensor.flashforge_print_duration":{"+":{"s":"344","lc":1789927341.2430065,"c":"01M2ZZQF5V7JC2VQZ0BT1S8YGB"}}}},"id":25}

Progress should be a percentage value, and duration a time (s) value. Both those channels came up as string type in the thing, so I OH auto-link string Items to these channels, but the items are not updating with the incoming HA data:

Other actual string channels, such as status codes seem to be updating correctly.

2026-09-20 11:15:27.939 [TRACE] [nal.api.HomeAssistantWebSocketClient] - RECV | {"type":"event","event":{"c":{"sensor.flashforge_status":{"+":{"s":"completed","lc":1789928127.9369256,"c":"01M300FFE05MSVHHXSJ6KF95AJ"}}}},"id":25}
2026-09-20 11:15:27.943 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Printer_FlashForge_Status' changed from printing to completed (source: org.openhab.core.thing$hasslink:device:72b812d5b6:b566d1ec3ee1352b760eda8dda316bec:sensor-status)