This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Revoke-MgUserSignInSession -UserId 'UserIdHere' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Revoke-AzureADUserAllRefreshToken -ObjectId "UserIdHere" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "ShowSyncProviderNotifications" -Value "0" -Type "dword" | |
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" -Name "RotatingLockScreenOverlayEnabled" -Value "0" -Type "dword" | |
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" -Name "SubscribedContent-338387Enabled" -Value "0" -Type "dword" | |
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" -Name "SubscribedContent-338393Enabled" -Value "0" -Type "dword" | |
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" -Name "SubscribedContent-353694Enabled" -Value "0" -Type "dword" | |
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" -Name "SubscribedContent-353696Enabled" -Value "0" -Type "dword" | |
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\Current |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set-ADSyncAADCompanyFeature -ForcePasswordChangeOnLogOn $true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$OnPremSync = Get-MgDirectoryOnPremiseSynchronization | |
$OnPremSync.Features.CloudPasswordPolicyForPasswordSyncedUsersEnabled = $true | |
Update-MgDirectoryOnPremiseSynchronization ` | |
-OnPremisesDirectorySynchronizationId $OnPremSync.Id ` | |
-Features $OnPremSync.Features |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- trigger: | |
- platform: state | |
entity_id: sensor.celkova_energie_poslana_do_site | |
sensor: | |
- name: "Cena prodane elektriny celkem" | |
unique_id: electricity_sold_price_total | |
#device_class: monetary | |
unit_of_measurement: "CZK" | |
state: > | |
{% set price = float(states('sensor.current_spot_electricity_price'),0) %} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sensor.total_battery_out: | |
last_reset: '2021-10-10T00:00:00+00:00' | |
state_class: total | |
device_class: energy | |
value_template: '{{value|round(2)}}' | |
sensor.total_battery_in: | |
last_reset: '2021-10-10T00:00:00+00:00' | |
state_class: total | |
device_class: energy | |
value_template: '{{value|round(2)}}' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: "Celková výroba energie" | |
state: "{{ states('sensor.solax_garage_total') }}" | |
availability: "{{ states('sensor.solax_garage_total') | float > 0 }}" | |
unit_of_measurement: "kWh" | |
state_class: total_increasing | |
device_class: energy | |
attributes: | |
last_reset: "1970-01-01T00:00:00+00:00" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
######## Solax | |
- platform: rest | |
scan_interval: 60 | |
resource: https://www.solaxcloud.com/proxyApp/proxy/api/getRealtimeInfo.do?tokenId=VasTokenID&sn=SNVasehoInverteru | |
name: "Solax Garage" | |
json_attributes_path: "$.result" | |
json_attributes: | |
- yieldtoday | |
- yieldtotal | |
- powerdc1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias: Zavrit terasu v 22:00 | |
description: '' | |
trigger: | |
- platform: time | |
at: '22:00' | |
condition: [] | |
action: | |
- scene: scene.zavrit_terasu_2 | |
mode: single |
NewerOlder