8000 Fixed statsd stopping if state is not numeric or only attributes changed by brentahughes · Pull Request #3981 · home-assistant/core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fixed statsd stopping if state is not numeric or only 8000 attributes changed #3981

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 22, 2016
Merged

Fixed statsd stopping if state is not numeric or only attributes changed #3981

merged 3 commits into from
Oct 22, 2016

Conversation

brentahughes
Copy link

Description:
If an attribute is changed but not the state the EVENT_STATE_CHANGE still gets fired but statsd would ignore it. It will now accept non numeric states or attribute changes only and update the counter and gauges appropriately.

@mention-bot
8000 Copy link

@bah2830, thanks for your PR! By analyzing the history of the files in this pull request, we identified @kk7ds, @michaelkuty and @fabaff to be potential reviewers.

@brentahughes brentahughes changed the title Fixed statsd stopping if attribute changed by not the state Fixed statsd stopping if attribute changed but not the state Oct 22, 2016
@brentahughes brentahughes changed the title Fixed statsd stopping if attribute changed but not the state Fixed statsd stopping if state is not numeric or only attributes changed Oct 22, 2016
@balloob
Copy link
Member
balloob commented Oct 22, 2016

🐬

@balloob
Copy link
Member
balloob commented Oct 22, 2016

Ok to merge when tests fixed

@balloob balloob merged commit 6e5a3c0 into home-assistant:dev Oct 22, 2016
@home-assistant home-assistant locked and limited conversation to collaborators Mar 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0