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

Fix for examples regarding "--columns" to make examples work (at leas… #305

Merged
merged 1 commit into from Oct 20, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.rst
Expand Up @@ -271,7 +271,7 @@ Listing devices and areas works similar to list Entities.
ea63e86747104abdb26f6d6ea9d2ddef Old Shed
16bd0505030a430b91fcf331340090f8 Entrance
81c28de473dd41a7846fc97fdcd3027b Dinner Table
69fdd00e91614957980a8dc1a7f0f68a Kids room
69fdd00e91614957980a8dc1a7f0f68a Kids room


You can create and delete areas:
Expand Down Expand Up @@ -443,8 +443,8 @@ Help
careful!
--debug Enables debug mode.
--columns TEXT Custom columns key=value list. Example:
ENTITY=entity_name,
NAME=attributes.friendly_name
ENTITY=entity_id,
NAME=name
--no-headers When printing tables don't use headers
(default: print headers)
--table-format TEXT Which table format to use.
Expand Down
2 changes: 1 addition & 1 deletion homeassistant_cli/cli.py
Expand Up @@ -185,7 +185,7 @@ def _default_token() -> Optional[str]:
default=None,
help=(
'Custom columns key=value list.'
' Example: ENTITY=entity_name, NAME=attributes.friendly_name'
' Example: ENTITY=entity_id, NAME=name'
),
)
@click.option(
Expand Down