in configuration.xml you can add the current gov as a sensor in order to verify the current cov used.
There is also a switch defined which lets you toggle gov from performance to powersave.
sensor:
- platform: command_line
name: CPU Governor
command: "cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor"
switch:
- platform: command_line
switches:
cpu_governor_performance:
friendly_name: CPU Governor (performance)
command_on: "echo \"performance\" | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor"
command_off: "echo \"powersave\" | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor"