From 19705ab40ad20b7786e6b5a269a6ea41a14b3d9a Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Wed, 23 Sep 2015 23:20:12 -0700 Subject: [PATCH] Hide auto groups from logbook --- homeassistant/components/logbook.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/logbook.py b/homeassistant/components/logbook.py index 45ee7a2e319..0d5ef7f3867 100644 --- a/homeassistant/components/logbook.py +++ b/homeassistant/components/logbook.py @@ -162,10 +162,12 @@ def humanify(events): to_state = State.from_dict(event.data.get('new_state')) - # if last_changed == last_updated only attributes have changed - # we do not report on that yet. + # if last_changed != last_updated only attributes have changed + # we do not report on that yet. Also filter auto groups. if not to_state or \ - to_state.last_changed != to_state.last_updated: + to_state.last_changed != to_state.last_updated or \ + to_state.domain == 'group' and \ + to_state.attributes.get('auto', False): continue domain = to_state.domain