Another vote for Hubitat here. Very open sourced, very security minded with its local operation versus cloud reliability, and VERY powerful with the rules that can be implemented.
Also, pretty much anything that is zwave or zigbee can be used, which opens up the door for low cost sensors and...