This repository has been archived by the owner on Oct 8, 2020. It is now read-only.
Releases: maykar/custom-header
Releases · maykar/custom-header
1.2.2
New Exception Conditions:
- is_admin : Set to true or false to match admin or not
- is_owner : Set to true or false to match owner or not
- tab : Can be a single tab or comma separated list of tabs. Accepts ranges, paths, and titles.
- template: Accepts a Jinja template that returns true or false.
Also added the ability to use a user's ID number in the user:
condition.
New Template Variables:
- deviceID : This uses card-tools device ID implementation, but doesn't require card-tools.
- isAdmin : Returns true or false if user is an admin
- isOwner : Returns true or false if user is the owner
- userID : User's unique ID number
- userAgent : Full user agent string
- viewTitle : Title of the current view
- viewPath : Path of the current view
- viewIndex : Index number of the current view
- url : Full current URL
Fixes:
- Tabs not hiding while in kiosk mode (fixes swipe-navigation swiping to hidden tabs as well).
- Respects new app-header theme variables for header text and background.
- Extra space on bottom of view in kiosk mode causing scrollbar to always be visible.
1.2.1
1.2.0
1.1.9
1.1.8
Important note: Editor is not functional in this pre-release.
This one is marked as a pre-release since I've now got babel converting everything (need to "show beta" in HACS to install). I have tested to the best of my ability, but this has the potential to cause some issues. If you're having issues then report the issue and downgrade if necessary.
- Use Babel to hopefully support some of the less common browsers
- Fix button text justification
- Fix for view names containing the letters "to" being detected as a range
- Fix for boolean reporting in
test_template:
- Fix for notification dot color
- Fix for cards overlapping in split mode and footer mode
1.1.7
1.1.6
1.1.5
1.1.4
- Uses default HA header text as default for header_text
- Adds shadow to header can be toggled with
shadow: true
orshadow: false
- Adds split mode to split header into a header and footer, flip order with footer_mode.
- Listens for theme changes and updates accordingly