Looking for developer to create a PR for oom assistant component

Don’t have enough knowledge for creating a PR but kindly ask if possible someone create a PR for the MQTT_Presence sensor

All is needed to change home-assistant/homeassistant/components/sensor/mqtt_room.py in line 42

From
STATE_AWAY = 'away'

To 
STATE_AWAY = 'not_home'

This will unify it with the device tracker platform - so the sensor can be grouped with the device_trackers. Or if possible maybe this variable can be brought out to the config file if other people are using it in some way another

@moskovskiy82, thought I would just check if you have looked into either using a template sensor or creating a custom version of the component ? Both will do what you want without having to go down the PR route. I did the latter for exactly this reason (i.e. copied and edited a version of mqtt_room.py into “{CONFIG}/custom_components/sensor” where {CONFIG} is my HA directory where configuration.yaml lives). Let me know if you need more on this.

I am curious why Heiko used the “away” state for this and have raised the question on his github here. Happy to follow-up on this.

1 Like

Thanks for the info. Never looked into custom components. Will try that out. But still would be great if that could be fixed for others as well without going the custom route

PR raised here. Will see what happens.

1 Like

Thanks! HA has a great community