{"id":48518343,"url":"https://github.com/finity69x2/fan-control-entity-row","last_synced_at":"2026-04-07T20:03:09.636Z","repository":{"id":39862833,"uuid":"191663150","full_name":"finity69x2/fan-control-entity-row","owner":"finity69x2","description":"Provides a means to show a compact graphical control row for 2 or 3 speed fans in Home Assistant","archived":false,"fork":false,"pushed_at":"2022-09-12T22:09:11.000Z","size":80,"stargazers_count":64,"open_issues_count":1,"forks_count":27,"subscribers_count":4,"default_branch":"master","last_synced_at":"2023-05-06T01:18:12.807Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/finity69x2.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-13T00:34:08.000Z","updated_at":"2023-04-13T19:14:13.000Z","dependencies_parsed_at":"2022-07-27T16:19:02.339Z","dependency_job_id":null,"html_url":"https://github.com/finity69x2/fan-control-entity-row","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/finity69x2/fan-control-entity-row","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/finity69x2%2Ffan-control-entity-row","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/finity69x2%2Ffan-control-entity-row/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/finity69x2%2Ffan-control-entity-row/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/finity69x2%2Ffan-control-entity-row/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/finity69x2","download_url":"https://codeload.github.com/finity69x2/fan-control-entity-row/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/finity69x2%2Ffan-control-entity-row/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31526666,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-04-07T20:02:46.989Z","updated_at":"2026-04-07T20:03:09.630Z","avatar_url":"https://github.com/finity69x2.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fan Control Entity Row\n\n## This is an element to add a fan control row to Home Assistant.\n\n## This plugin is only valid for use with fans that still use a speed list in the fan configuration. That fan control model is deprecated in versions of Home Assistant 2021.3.x and later. For HA versions 2021.3.x and later use fan-percent-button-row or fan-mode-button-row if your fan has been updated to use the new control methods.\n\n## https://github.com/finity69x2/fan-percent-button-row\n\n## https://github.com/finity69x2/fan-mode-button-row\n\nIt uses the code that can be found in my fan control package @ https://github.com/finity69x2/Home-Assistant/blob/master/packages/fan_package.yaml\n\nUPDATE:\n\nI've added the ability to hide the medium speed button to turn it into a two speed fan control, as well. To use it in this mode then your fan speeds must be designated low and high since it simply removes the medium speed button.\n\nInstallation:\n\nThe easiest way to install this is to use the Home Assistant Community Store (HACS) in Home Assistant.\n\nFollow the instructions there for installation making sure you note the \"url:\" section for the resources addition.\n\nConversely, if you don't use HACS you can install it manually by performing the following:\n\nCopy the fan-control-entity-row.js file to the appropriate folder in your Home Assistant Configuration directory (/config/www/).\n\nPlace the following in your \"resources\" section in your lovelace configuration (updating the localation to where you placed the above file):\n\n  ```yaml\n    - url: /local/fan-control-entity-row.js\n      type: module\n  ```\n    \nThen to use this in a card place the following in your entity card:\n\n\n\u003cb\u003eOptions:\u003c/b\u003e\n\n| Name | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| entity | String | Yes | none | a fan entity_id |\n| type | String | Yes | none | custom:fan-control-entity-row |\n| name | String | No | none | A custom name for the entity in the row |\n| customTheme | Boolean | No | false | set to true to use a custom theme |\n| reverseButtons | Boolean | No | false | Set to true to reverse the button order |\n| isTwoSpeedFan | Boolean | No | false | Set to true to hide the Medium Speed button |\n| hideOff | Boolean | No | false | Set to true to hide the Off button |\n| sendStateWithSpeed | Boolean | No | false | Used only for certain firmware that requires the State command be sent with the Speed command  |\n| width | String | No | 30px | A custom width for the buttons |\n| height | String | No | 30px | A custom height for the buttons |\n| isOffColor | String | No | '#f44c09' | Sets the color of the 'Off' button if fan is off |\n| isOnLowColor | String | No | '#43A047' | Sets the color of the 'Low' button if fan is on low |\n| isOnMedColor | String | No | '#43A047' | Sets the color of the 'Med' button if fan is on Medium |\n| isOnHiColor | String | No | '#43A047' | Sets the color of the 'Hi' button if fan is on high |\n| buttonInactiveColor | String | No | '#759aaa' | Sets the color of the the buttons if that selection is off |\n| customOffText | String | No | 'OFF' | Sets the text of the \"off\" button |\n| customLowText | String | No | 'LOW' | Sets the text of the \"low\" speed button |\n| customMedText | String | No | 'MED' | Sets the text of the \"medium\" speed button |\n| customHiText | String | No | 'HIGH' | Sets the text of the \"High\" speed button |\n| state_color | Boolean | No | false | Sets the icon color of the entity to reflect the current state |\n\n\nThe values for the colors can be any valid color string in \"HEX\", \"RGB\" or by color name.\n\n*NOTE: The speeds that your fan uses in Home Assistant need to use all lowercase letters. The only time this should be a concern is if you are using a template fan. Be sure to make your speeds all lowercase in the fan configuration.\n\nThe optional \"sendStateWithSpeed\" config entry is only needed to be set to true if for some reason your fan needs the state command of \"on\" to be sent along with the desired speed command. As far as I know this is only needed for use with fans flashed with the ESPHome Firmware.\n\n\u003cb\u003eComfguration Examples:\u003c/b\u003e\n    \n  ```yaml\n    cards:\n      - type: entities\n        title: Fans\n        show_header_toggle: false\n        entities:\n        ## USE THIS CONFIG TO HAVE IT MATCH YOUR THEME ##\n          - entity: fan.master_bedroom_fan\n            type: custom:fan-control-entity-row\n            name: MBR Fan Not Custom\n            customTheme: false\n        ## USE THIS CONFIG TO USE A DEFAULT CUSTOM THEME\n          - entity: fan.sunroom_fan\n            type: custom:fan-control-entity-row\n            name: Sunroom Fan Default Custom\n            customTheme: true\n        ## USE THIS CONFIG TO USE A 'CUSTOMZED' CUSTOM THEME\n          - entity: fan.sunroom_fan\n            type: custom:fan-control-entity-row\n            name: Sunroom Fan Custom Custom\n            reverseButtons: true\n            customTheme: true\n            isOnLowColor: 'rgb(255, 0, 0)'\n            isOnMedColor: '#888888'\n            isOnHiColor: '#222222'\n            buttonInactiveColor: '#aaaaaa'\n            isOffColor: 'purple'\n        ## USE THIS CONFIG FOR USE WITH THE ESPHOME FIRMWARE (ALONG WITHE THE THEME SETTING ABOVE IF DESIRED)\n          - entity: fan.master_bedroom_fan\n            type: custom:fan-control-entity-row\n            name: MBR Fan Not Custom\n            sendStateWithSpeed: true\n        ## USE THIS CONFIG TO SET CUSTOM BUTTON TEXT (NOT REQUIRED TO SET \"customTheme: true\" TO USE THESE )\n          - entity: fan.sunroom_fan\n            type: custom:fan-control-entity-row\n            name: Sunroom Fan Custom Custom\n            customHiText: me\n            customLowText: do\n            customMedText: re\n            customOffText: not\n            width: '15px'\n            height: '15px'\n  ```\n\nThis is with the default Lovelace frontend theme set:\n\n![Default](default_fan_ex.gif)\n\n\nThis is with the \"Slate\" frontend theme set:\n\n![Slate](slate_fan_ex.gif)\n\nThis is how this plugin looks with the Light Brightness Preset \u0026 Binary Button Rows:\n\n![Slate-Compare](button-row-example-compare.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffinity69x2%2Ffan-control-entity-row","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffinity69x2%2Ffan-control-entity-row","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffinity69x2%2Ffan-control-entity-row/lists"}