{"id":24307789,"url":"https://github.com/thyraz/pqina-flip-clock-card","last_synced_at":"2025-09-26T13:30:46.444Z","repository":{"id":270161037,"uuid":"909503780","full_name":"Thyraz/pqina-flip-clock-card","owner":"Thyraz","description":"Home Assistant Lovelace custom card showing a flip clock using the \"PQINA flip\" web component","archived":false,"fork":false,"pushed_at":"2025-01-07T21:13:09.000Z","size":767,"stargazers_count":13,"open_issues_count":2,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-09-11T23:32:39.622Z","etag":null,"topics":["card","dashboard","flip-clock","frontend","hacs","home-assistant","lovelace-custom-card"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Thyraz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-28T22:38:30.000Z","updated_at":"2025-09-05T14:38:25.000Z","dependencies_parsed_at":"2024-12-28T23:33:09.341Z","dependency_job_id":null,"html_url":"https://github.com/Thyraz/pqina-flip-clock-card","commit_stats":null,"previous_names":["thyraz/pqina-flip-clock-card"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Thyraz/pqina-flip-clock-card","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thyraz%2Fpqina-flip-clock-card","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thyraz%2Fpqina-flip-clock-card/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thyraz%2Fpqina-flip-clock-card/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thyraz%2Fpqina-flip-clock-card/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Thyraz","download_url":"https://codeload.github.com/Thyraz/pqina-flip-clock-card/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thyraz%2Fpqina-flip-clock-card/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277086787,"owners_count":25758600,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-26T02:00:09.010Z","response_time":78,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["card","dashboard","flip-clock","frontend","hacs","home-assistant","lovelace-custom-card"],"created_at":"2025-01-17T04:19:32.357Z","updated_at":"2025-09-26T13:30:46.112Z","avatar_url":"https://github.com/Thyraz.png","language":"TypeScript","funding_links":["https://buymeacoffee.com/rikschennink"],"categories":[],"sub_categories":[],"readme":"# Home Assistant Custom Card using PQINA Flip Clock\n\n## About\n\nCreated as wallpaper for wall-tablets or smart-clocks to show the current time.\n\nExample: (_Date and temperature are not part of this card._)\n![photo](docs/img/photo.jpg)\n\nCreated by Tobias Wiedenmann \u003chttps://github.com/Thyraz\u003e\n\nMany thanks and all credits to the original creator of the PQINA flip clock @rikschennink, that made this custom card possible:\n\u003chttps://github.com/pqina/flip\u003e\n\nIf you like it, buy him a coffee, as I don't want one from you for this little card. 😉\nhttps://buymeacoffee.com/rikschennink\n\n\n## Installation\n\n### Through HACS (recommended)\n\nAdd this repository via HACS Custom repositories\n\nhttps://github.com/Thyraz/pqina-flip-clock-card\n\n([How to add Custom Repositories](https://hacs.xyz/docs/faq/custom_repositories/))\n\n## Configuration\n\nThe configuration is currently only possible in YAML mode, but I hope to add a GUI editor later.\n\n### Keys / Values\n\n#### Root Level Keys\n\n| __Key__ | __Default__ | __Values__ | __Description__ |\n|-|-|-|-|\n| showSeconds | true | true / false | show or hide the third flap with the seconds |\n| twentyFourHourFormat | true | true / false | 12 or 24 hour format |\n| hideBackground | false | true / false | Hides the card background and border |\n| styles | - | [Style Level Keys](#style-level-keys) | Options to override specific CSS settings. See the next chapter and the advanced example below. |\n| tap_action | - | [action](https://www.home-assistant.io/dashboards/actions/#tap-action) | Home Assistant action. See liked docs or the advanced example below.\n| entity | - | entity name | Only used when the tap_action is set to an entity-specific action like more-info. Should be omitted otherwise. |\n\n#### Style Level Keys\n\n| __Key__ | __Default__ | __Values__ | __Description__ |\n|-|-|-|-|\n| height | - | CSS size value | Height of the main card of the clock. Uses CSS size units. For example set it to a fixed 'px' value like '200px'. If you prefer a fixed aspect ratio use 'cqw' (container query width) like '30cqw', which sets the height to 30% of the width. |\n| fontSize | - | CSS size value | Can also be set in different units like 'px', 'em' or 'cqw' |\n| font | default theme font | font name | Font must be available in lovelace. Search the web for how to add custom fonts to HA. |\n| textColor | - | CSS color value | Color of the font on the clock. Example: '#ffffff' or 'white' |\n| textOffsetVertical | 0 | CSS size value | Might be needed for custom fonts when the text isn't centered vertically correctly. Best set as 'em' unit like '-0.1em' |\n| frontFlapColor | - | CSS color value | Background-color of the main flaps. Example: '#333333' |\n| rearFlapColor | - | CSS color value | Background-color of the flaps behind the main-flaps (shadow at the bottom). Example: '#333333' |\n| frontFlapGradientOpacity | 0.2 | 0.0 - 1.0 | The main flaps have a gradient overlay (transparent to white) over the background color to add a 3d-like effect. You can adjust the opacity here |\n\n### Minimal example\n\n````YAML\ntype: custom:pqina-flip-clock-card\n````\n\n![screenshot](docs/img/flip-clock.jpg)\n\n### Example with custom styling and navigation tap-action\n\n````YAML\ntype: custom:pqina-flip-clock-card\ntwentyFourHourFormat: true\nhideBackground: true\nshowSeconds: true\ntap_action:\n  action: navigate\n  navigation_path: /dashboard-name/tab-name\nstyles:\n  height: 55cqw\n  textColor: rgb(255, 255, 255)\n  font: Oswald\n  font-size: 38cqw\n  textOffsetVertical: \"-0.05em\"\n  frontFlapColor: rgb(40, 40, 40)\n  rearFlapColor: rgb(40, 40, 40)\n````\n![screenshot](docs/img/example2.jpg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthyraz%2Fpqina-flip-clock-card","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthyraz%2Fpqina-flip-clock-card","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthyraz%2Fpqina-flip-clock-card/lists"}