Skip to content
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

home-assistant: add support for waze, bluetooth tracker and IFTTT #50274

Merged
merged 6 commits into from Nov 13, 2018

Conversation

peterhoeg
Copy link
Member

Motivation for this change

A few missing python modules needed for HA.

Status:

  • waze works
  • IFTTT was tested ages ago and worked but I'm no longer using it
  • bluetooth has not been tested yet

Cc: @dotlambda

The bt_proximity package is pulled from GH instead of pypi as pypi only has a precompiled wheel.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Fits CONTRIBUTING.md.

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: home-assistant

Partial log (click to expand)

copying path '/nix/store/dzwv1yrnagzph4j91ydkf819kmk1r80a-python3.6-home-assistant-frontend-20181103.3' from 'https://nix-cache.s3.amazonaws.com'...
copying path '/nix/store/id55cwgp6jwl0y8r2pc5hbjbxylp626z-python3.6-requests-2.20.0-dev' from 'https://nix-cache.s3.amazonaws.com'...
copying path '/nix/store/0hlh19z2mhw752m7jg8yjhqi74r306vk-python3.6-voluptuous-0.11.5' from 'https://nix-cache.s3.amazonaws.com'...
copying path '/nix/store/9v87cba9zg227zbh5q9dksany2i27132-python3.6-astral-1.7.1' from 'https://nix-cache.s3.amazonaws.com'...
copying path '/nix/store/j2rf6ffxfik2wwg5690fpxis18h2qifz-python3.6-voluptuous-serialize-2.0.0' from 'https://nix-cache.s3.amazonaws.com'...
copying path '/nix/store/6hxp26bcyzr1v34a2abh6gaqjy9hchjj-python3.6-yarl-1.2.6' from 'https://nix-cache.s3.amazonaws.com'...
copying path '/nix/store/bydjasqfss5fpjxy176gy4g1l13n77mv-python3.6-aiohttp-3.4.4' from 'https://nix-cache.s3.amazonaws.com'...
copying path '/nix/store/c02wgvdgp14r11xywllxzw9iqf6haxf6-python3.6-aiohttp-cors-0.7.0' from 'https://nix-cache.s3.amazonaws.com'...
copying path '/nix/store/hhd61vk7w1zsbnib8zy5aja9hdvn7mh9-homeassistant-0.82.0' from 'https://nix-cache.s3.amazonaws.com'...
/nix/store/hhd61vk7w1zsbnib8zy5aja9hdvn7mh9-homeassistant-0.82.0

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: home-assistant

Partial log (click to expand)

tests/components/test_init.py .................                          [ 87%]
tests/components/test_introduction.py .                                  [ 88%]
tests/components/test_logger.py ......                                   [ 90%]
tests/components/test_script.py .....                                    [ 91%]
tests/components/test_shell_command.py ........                          [ 94%]
tests/components/test_system_log.py ................                     [100%]

========================= 297 passed in 26.38 seconds ==========================
pytestcachePhase
/nix/store/6gxd5hmqlmslp81x2zg77w6wbi09f41b-homeassistant-0.82.0

@dotlambda
Copy link
Member

dotlambda commented Nov 12, 2018

You might want to do just one commit with message home-assistant: update component-packages.nix.

@peterhoeg
Copy link
Member Author

You might want to do just one commit

In case we need to revert this, individual commits are easier.

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: home-assistant

Partial log (click to expand)

/nix/store/6gxd5hmqlmslp81x2zg77w6wbi09f41b-homeassistant-0.82.0

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: home-assistant

Partial log (click to expand)

copying path '/nix/store/79zfpvsq7kb4mgxdi4vw0yg29f6ls8f6-python3.6-ruamel.yaml-0.15.72' from 'https://cache.nixos.org'...
copying path '/nix/store/j2rf6ffxfik2wwg5690fpxis18h2qifz-python3.6-voluptuous-serialize-2.0.0' from 'https://cache.nixos.org'...
copying path '/nix/store/wjvj3c0q9gg6kvykm7gzfki0344bdmf2-python3.6-user-agents-1.1.0' from 'https://cache.nixos.org'...
copying path '/nix/store/bydjasqfss5fpjxy176gy4g1l13n77mv-python3.6-aiohttp-3.4.4' from 'https://cache.nixos.org'...
copying path '/nix/store/id55cwgp6jwl0y8r2pc5hbjbxylp626z-python3.6-requests-2.20.0-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/9v87cba9zg227zbh5q9dksany2i27132-python3.6-astral-1.7.1' from 'https://cache.nixos.org'...
copying path '/nix/store/dzwv1yrnagzph4j91ydkf819kmk1r80a-python3.6-home-assistant-frontend-20181103.3' from 'https://cache.nixos.org'...
copying path '/nix/store/c02wgvdgp14r11xywllxzw9iqf6haxf6-python3.6-aiohttp-cors-0.7.0' from 'https://cache.nixos.org'...
copying path '/nix/store/hhd61vk7w1zsbnib8zy5aja9hdvn7mh9-homeassistant-0.82.0' from 'https://cache.nixos.org'...
/nix/store/hhd61vk7w1zsbnib8zy5aja9hdvn7mh9-homeassistant-0.82.0

@dotlambda dotlambda merged commit 66ba870 into NixOS:master Nov 13, 2018
@peterhoeg peterhoeg deleted the f/ha branch November 14, 2018 01:01
@peterhoeg peterhoeg restored the f/ha branch November 14, 2018 05:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants