This is something I've been looking for too. Not completely, but it can be done for binary devices pretty easily using this integration. You create virtual devices in HE, share them with HA and then sync their state using simple HA automations.
So for example, when a motion sensor triggers in HA, you can have it turn on a virtual switch in HE, and when motion stops, turn the switch off. I would really like to have sensor data into HE and simple binary devices without the need for creating HA automations, but I also am resisting adding brokers. My preference is HE, but HA has quite a lot of integrations that aren't here yet, so it's a nice to have bridge until they are.
Maybe @jason0x43 would be able to do that, but who knows if he'd want to invest the time. Doesn't sound like that's how he prefers to utilize HE. It's a very helpful integration that he did provide though. Thanks Jason!
If you want to have virtual motion sensors and virtual contact sensors trigger on the HE side, instead of a virtual switch, you can use the driver code below.
metadata {
definition (name: "Virtual motion and contact w/Switch", namespace: "logname", author: "smarthomeprimer") {
capability "Sensor"
capability "Motion Sensor"
capability "Contact Sensor"
capability "Switch"
}
}
def on() {
sendEvent(name: "motion", value: "active")
sendEvent(name: "contact", value: "open")
sendEvent(name: "switch", value: "on")
}
def off() {
sendEvent(name: "motion", value: "inactive")
sendEvent(name: "contact", value: "closed")
sendEvent(name: "switch", value: "off")
}
def installed() {
}