Skip to content

Commit

Permalink
Fix spelling errors (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
megabyde committed May 17, 2024
1 parent e580938 commit 871798e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Smart Home Refactoring Python Kata

[![CI](https://github.com/Coding-Cuddles/smart-home-refactoring-python-kata/actions/workflows/main.yml/badge.svg)](https://github.com/Coding-Cuddles/smart-home-refactoring-python-kata/actions/workflows/main.yml)
[![Replit](https://replit.com/badge?caption=Try%20with%20Replit&variant=small)](https://replit.com/new/github/Coding-Cuddles/smart-home-refactoring-python-kata)
[![Replit](https://img.shields.io/badge/Try%20with%20Replit-black?logo=replit)](https://replit.com/new/github/Coding-Cuddles/smart-home-refactoring-python-kata)

## Overview

Expand Down
8 changes: 4 additions & 4 deletions smart_home.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ def turn_on(self):
def turn_off(self):
return "AC turned off"

def set_temperature(self, temperature_in_celcius):
return f"Set temperature to {temperature_in_celcius}"
def set_temperature(self, temperature_in_celsius):
return f"Set temperature to {temperature_in_celsius}"


class CoffeMaker:
class CoffeeMaker:

def turn_on(self):
return "Coffee maker turned on"
Expand All @@ -62,7 +62,7 @@ def __init__(self):
self.switchable_light_2 = SwitchableLight()
self.networkable_light = NetworkableLight()
self.dimmable_light = DimmableLight()
self.coffee_maker = CoffeMaker()
self.coffee_maker = CoffeeMaker()
self.ac = AirConditioner()

def turn_on_all(self):
Expand Down

0 comments on commit 871798e

Please sign in to comment.