Skip to content

Add totalconnect zones as binary sensors#28712

Merged
springstan merged 60 commits intohome-assistant:devfrom
austinmroczek:dev
Feb 1, 2020
Merged

Add totalconnect zones as binary sensors#28712
springstan merged 60 commits intohome-assistant:devfrom
austinmroczek:dev

Conversation

@austinmroczek
Copy link
Copy Markdown
Contributor

@austinmroczek austinmroczek commented Nov 12, 2019

Description:

Represent totalconnect "zones" as Home Assistant binary sensors.

This will add a large number of entities. It's 46 for my setup.

Related issue (if applicable): fixes craigjmidwinter/total-connect-client#2

**Pull request with documentation for home-assistant.io (if applicable): home-assistant/home-assistant.io#11160

Example entry for configuration.yaml (if applicable):

no changes to config

Checklist:

  • The code change is tested and works locally.
  • Local tests pass with tox. Your PR cannot be merged unless tests pass
  • There is no commented out code in this PR.
  • I have followed the development checklist

If user exposed functionality or configuration variables are added/changed:

If the code communicates with devices, web services, or third-party tools:

  • The manifest file has all fields filled out correctly. Update and include derived files by running python3 -m script.hassfest.
  • New or updated dependencies have been added to requirements_all.txt by running python3 -m script.gen_requirements_all.
  • [n/a] Untested files have been added to .coveragerc.

If the code does not interact with devices:

  • [n/a] Tests have been added to verify that the new code works.

it is a burglar or fire or carbon monoxide so automations can take
appropriate actions.  Updated TotalConnect component to handle these new
states.
Also bumps total_connect_client to 0.27.
@austinmroczek
Copy link
Copy Markdown
Contributor Author

@springstan I think I have finally crossed the finish line.

@springstan
Copy link
Copy Markdown
Member

Great to hear! I will take a look at it tomorrow to give you some feedback.

Comment thread homeassistant/components/totalconnect/alarm_control_panel.py Outdated
@springstan springstan added the dependency Pull requests marked as a dependency upgrade label Jan 18, 2020
Comment thread homeassistant/components/totalconnect/binary_sensor.py Outdated
Comment thread homeassistant/components/totalconnect/binary_sensor.py Outdated
Comment thread homeassistant/components/totalconnect/binary_sensor.py Outdated
Comment thread homeassistant/components/totalconnect/binary_sensor.py Outdated
Comment thread homeassistant/components/totalconnect/alarm_control_panel.py Outdated
Comment thread homeassistant/components/totalconnect/binary_sensor.py
Comment thread homeassistant/components/totalconnect/binary_sensor.py Outdated
Comment thread homeassistant/components/totalconnect/binary_sensor.py Outdated
Comment thread homeassistant/components/totalconnect/alarm_control_panel.py Outdated
Comment thread homeassistant/components/totalconnect/binary_sensor.py Outdated
Comment thread homeassistant/components/totalconnect/binary_sensor.py Outdated
@austinmroczek
Copy link
Copy Markdown
Contributor Author

I addressed all of your comments and changes, but I made changes locally instead of using the Github web interface. I think that's why it's still complaining you asked for changes.

Copy link
Copy Markdown
Contributor Author

@austinmroczek austinmroczek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this closes out the "review." Sorry still fairly new to git and Github.

@springstan springstan changed the title Add totalconnect Zones as HA binary sensors Add totalconnect zones as binary sensors Jan 21, 2020
Comment thread homeassistant/components/totalconnect/binary_sensor.py Outdated
Co-Authored-By: springstan <46536646+springstan@users.noreply.github.com>
@springstan
Copy link
Copy Markdown
Member

@MartinHjelmare could you please take a look at this to make sure I am not missing something? Thanks 👍

Comment thread homeassistant/components/totalconnect/alarm_control_panel.py
Comment thread homeassistant/components/totalconnect/binary_sensor.py Outdated
Comment thread homeassistant/components/totalconnect/binary_sensor.py Outdated
Comment thread homeassistant/components/totalconnect/binary_sensor.py Outdated
Comment thread homeassistant/components/totalconnect/binary_sensor.py Outdated
Comment thread homeassistant/components/totalconnect/binary_sensor.py
Comment thread homeassistant/components/totalconnect/binary_sensor.py Outdated
Comment thread homeassistant/components/totalconnect/alarm_control_panel.py Outdated
Comment thread homeassistant/components/totalconnect/binary_sensor.py Outdated
Copy link
Copy Markdown
Member

@MartinHjelmare MartinHjelmare left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@springstan springstan merged commit f584df4 into home-assistant:dev Feb 1, 2020
@lock lock Bot locked and limited conversation to collaborators Feb 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Individual Zone Status

4 participants