[Styling Module, JS Module, JS+Editor Module] Fan Speed Visual Card #2376
Replies: 7 comments 19 replies
|
Does this only support 4 steps? We have 6 for our Tuya fans. |
|
Hey @DerHerzog7 thanks for checking it out, right now it is hardcoded around 4 states, off, low, medium and high. I could create a user selectable number of speeds, but it would require me to refractor it, which I am not against doing if you wish to use it! |
|
For my Dyson fan i have 10 steps van 0% to 100%. i really like this card. it also has some presets and oscillating mode but those can be made with main sub buttons ofcourse. |
|
Is there a reason why this is manual install and not available in the module store? |
|
Hey again I've been mapping this out. It's a great module. I'm finding it doesn't follow my theming though. Can you update it to bring across current dashboard theme by default? |
|
Hi @76cb, So as I'm building this out there are a few things I'm struggling to since (even with the use of AI). Overall a great module. Really cool.
Love your work! |


Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Fan Speed Visual Center
Version: v1.3.2
Creator: 76cb
Fan Speed Visual Center adds speed-aware styling, animation, power controls, fan-mode controls, and configurable sub-button highlighting to a Bubble Card Button card.
The module can use a
fanorclimateentity as its primary control entity. Additional mode buttons can controlfan,climate,select, andinput_selectentities.Important
This module supports the Bubble Card Button card type. Supporting a
climateentity does not mean that the Bubble Card Climate card type is supported.Unsupported Bubble Card types:
Features
fanandclimateentities from a Bubble Card Button card.fanentities.climate.set_fan_mode.selectandinput_selectentities for controls such as mode and timer options.fanentities.Supported Entities and Actions
fanclimateselectinput_selectInstallation
Copy the complete module YAML from this repository into:
Restart Home Assistant or reload the frontend resources as required by your Bubble Card module installation, then add Fan Speed Visual Center to a Bubble Card Button card.
Basic Setup
fanorclimateentity under Control Entity.fan, or configure Mode / Select Buttons for climate modes, presets, timers, and dropdown entities.Note
Button numbers start at
1and refer to the order of the existing Bubble Card sub-buttons. The module styles and attaches actions to those buttons; it does not create the sub-buttons itself.Configuration Examples
Standard fan with percentage speeds
Climate entity with fan-mode buttons
Separate mode and timer dropdowns
Each mapping reads its own target entity, so the active mode and active timer can be highlighted simultaneously.
Main Icon Action
The main icon can be configured to:
The default is Use Bubble Card action, so existing card behavior is preserved unless the module is explicitly told to replace it.
Theme Inheritance
Theme inheritance is now the default. When Use Bubble Card / theme is selected, the module does not set the corresponding CSS property.
This applies to:
Select a preset, color wheel, custom CSS value, or JavaScript template only when the module should override the existing Bubble Card or dashboard theme.
Mode / Select Buttons
Mode / Select Buttons replace the narrower preset-only workflow from v1.2. Each mapping can:
When several mappings are active, all matching sub-buttons can be highlighted. The first active mapping with Affect Main Card Style / Icon enabled controls the main card presentation.
Direction Controls
Direction controls are only attached when the primary entity is in the
fandomain. This prevents the module from attempting to callfan.set_directionon aclimateentity.Upgrading from v1.2
The following configuration keys remain supported:
fan_entityenable_presetspreset_mappingspreset_attributefan_entityremains the internal configuration key, but it may now reference either afanorclimateentity.Existing saved v1.2 cards may retain explicit color modes such as
preset. Change those fields to Use Bubble Card / theme when the card should inherit the current dashboard styling.The former Presets editor section is now named Mode / Select Buttons. Existing preset mappings continue to work, while new mappings can target climate modes and external dropdown entities.
Complete module YAML
Copy the following module into your Bubble Card modules file:
Screenshots
All reactions